From 390ab50cdb56d61bb3195edad8721dc3c80fe25e Mon Sep 17 00:00:00 2001 From: jistone Date: Mon, 30 Oct 2006 20:26:43 +0000 Subject: 2006-10-30 Josh Stone * 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. --- testsuite/ChangeLog | 7 +++++++ testsuite/systemtap.maps/pmap_agg_overflow.stp | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) 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 + + * 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 * 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 -- cgit