summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--testsuite/ChangeLog7
-rwxr-xr-xtestsuite/systemtap.maps/pmap_agg_overflow.stp2
2 files changed, 8 insertions, 1 deletions
diff --git a/testsuite/ChangeLog b/testsuite/ChangeLog
index 3a708682..019224e8 100644
--- a/testsuite/ChangeLog
+++ b/testsuite/ChangeLog
@@ -1,3 +1,10 @@
+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.
+
2006-10-30 Martin Hunt <hunt@redhat.com>
* systemtap.maps/pmap_agg_overflow.stp: Use timer.jiffies
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