summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.maps
diff options
context:
space:
mode:
authorjistone <jistone>2006-10-30 20:26:43 +0000
committerjistone <jistone>2006-10-30 20:26:43 +0000
commit390ab50cdb56d61bb3195edad8721dc3c80fe25e (patch)
treebb4cc3e55ed86125a397d005758fb2f5943ca1bf /testsuite/systemtap.maps
parent97a5bc8990cdb268b0ed043ce22568ea5ddf2d62 (diff)
downloadsystemtap-steved-390ab50cdb56d61bb3195edad8721dc3c80fe25e.tar.gz
systemtap-steved-390ab50cdb56d61bb3195edad8721dc3c80fe25e.tar.xz
systemtap-steved-390ab50cdb56d61bb3195edad8721dc3c80fe25e.zip
2006-10-30 Josh Stone <joshua.i.stone@intel.com>
* systemtap.maps/pmap_agg_overflow.stp: Use kernel.function("scheduler_tick") instead of timer.jiffies so the test works on all kernels. The test needs a probe that is invoked often on all cpus.
Diffstat (limited to 'testsuite/systemtap.maps')
-rwxr-xr-xtestsuite/systemtap.maps/pmap_agg_overflow.stp2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/systemtap.maps/pmap_agg_overflow.stp b/testsuite/systemtap.maps/pmap_agg_overflow.stp
index c194a0d2..aa54c6a9 100755
--- a/testsuite/systemtap.maps/pmap_agg_overflow.stp
+++ b/testsuite/systemtap.maps/pmap_agg_overflow.stp
@@ -11,7 +11,7 @@ probe begin {
max_count = num_online_cpus() * max_map_entries()
}
-probe timer.jiffies(1) {
+probe kernel.function("scheduler_tick") {
i = ++count
if (i >= max_count) exit()
stat[i] <<< i