diff options
author | jistone <jistone> | 2006-10-30 20:26:43 +0000 |
---|---|---|
committer | jistone <jistone> | 2006-10-30 20:26:43 +0000 |
commit | 390ab50cdb56d61bb3195edad8721dc3c80fe25e (patch) | |
tree | bb4cc3e55ed86125a397d005758fb2f5943ca1bf | |
parent | 97a5bc8990cdb268b0ed043ce22568ea5ddf2d62 (diff) | |
download | systemtap-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.
-rw-r--r-- | testsuite/ChangeLog | 7 | ||||
-rwxr-xr-x | testsuite/systemtap.maps/pmap_agg_overflow.stp | 2 |
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 |