summaryrefslogtreecommitdiffstats
path: root/runtime/probes/bench/run_bench
diff options
context:
space:
mode:
authorhunt <hunt>2006-01-19 19:26:32 +0000
committerhunt <hunt>2006-01-19 19:26:32 +0000
commit46746514a6943520ff73b6f77d35477e2abb30ba (patch)
tree870674338b7b7b82b87b515886a5d77099390b61 /runtime/probes/bench/run_bench
parenta7978f80f7621ffba04999b7c1360afa242b01dd (diff)
downloadsystemtap-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/bench/run_bench')
-rwxr-xr-xruntime/probes/bench/run_bench8
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