diff options
author | hunt <hunt> | 2006-01-19 19:26:32 +0000 |
---|---|---|
committer | hunt <hunt> | 2006-01-19 19:26:32 +0000 |
commit | 46746514a6943520ff73b6f77d35477e2abb30ba (patch) | |
tree | 870674338b7b7b82b87b515886a5d77099390b61 /runtime/probes | |
parent | a7978f80f7621ffba04999b7c1360afa242b01dd (diff) | |
download | systemtap-steved-46746514a6943520ff73b6f77d35477e2abb30ba.tar.gz systemtap-steved-46746514a6943520ff73b6f77d35477e2abb30ba.tar.xz systemtap-steved-46746514a6943520ff73b6f77d35477e2abb30ba.zip |
2006-01-19 Martin Hunt <hunt@redhat.com>
* pmap-gen.c (_stp_pmap_get): Fix bug where old data
from agg map could be returned after element was deleted.
Diffstat (limited to 'runtime/probes')
-rwxr-xr-x | runtime/probes/bench/run_bench | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/runtime/probes/bench/run_bench b/runtime/probes/bench/run_bench index 8bbc2dd4..18319013 100755 --- a/runtime/probes/bench/run_bench +++ b/runtime/probes/bench/run_bench @@ -5,7 +5,7 @@ proc do_time {module n} { global Failures # start kprobes - if {[catch {exec ../../stpd/stpd -mq $module.ko > xxx &} pid]} { + if {[catch {exec ../../stpd/stpd -rmq $module.ko > xxx &} pid]} { puts $pid exit -1 } @@ -72,12 +72,6 @@ set mem [split [exec cat /proc/meminfo] \n] puts "[lindex $mem 0] [lindex $mem 1]" puts "--------------------------------------" -# load the modules -if {[catch {exec stp_check} res]} { - puts $res - exit -1 -} - # get the timings without kprobes if {[catch {exec ./ttest 4} res1]} { puts $res1 |