diff options
author | Dave Brolley <brolley@redhat.com> | 2009-04-08 12:03:08 -0400 |
---|---|---|
committer | Dave Brolley <brolley@redhat.com> | 2009-04-08 12:03:08 -0400 |
commit | 2f7ba4b8416eae26971da68fdc14aa8560a7939c (patch) | |
tree | d5b4383e43bc108d9f76d30addfd857b6bf8dc62 /testsuite/systemtap.context | |
parent | 83d18bfb001f334309163e54d6c5bd28a1829035 (diff) | |
parent | 3dd58c2ac312fc16aa38124987081adbd6697629 (diff) | |
download | systemtap-steved-2f7ba4b8416eae26971da68fdc14aa8560a7939c.tar.gz systemtap-steved-2f7ba4b8416eae26971da68fdc14aa8560a7939c.tar.xz systemtap-steved-2f7ba4b8416eae26971da68fdc14aa8560a7939c.zip |
Merge branch 'master' of git://sources.redhat.com/git/systemtap
Diffstat (limited to 'testsuite/systemtap.context')
-rw-r--r-- | testsuite/systemtap.context/usymbols.exp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/testsuite/systemtap.context/usymbols.exp b/testsuite/systemtap.context/usymbols.exp index 8af20126..39b3b442 100644 --- a/testsuite/systemtap.context/usymbols.exp +++ b/testsuite/systemtap.context/usymbols.exp @@ -35,7 +35,7 @@ set testscript { probe syscall.rt_sigaction { if (pid() == target() && execname() == "%s") { handler = $act->sa_handler; - printf("handler: %%s\n", symname(handler)); + printf("handler: %%s\n", usymname(handler)); } } /* track through uprobes, so as to make sure we have the symbols */ @@ -56,8 +56,7 @@ if {[string equal "link" [file type $libpath]]} { } send_log "libpath: $libpath\n" -# XXX Cheat, explicitly add STP_NEED_VMA_TRACKER -set cmd [concat stap -DSTP_NEED_VMA_TRACKER -d $libpath -d $testexe -c $testexe -e {$script}] +set cmd [concat stap -d $libpath -d $testexe -c $testexe -e {$script}] send_log "cmd: $cmd\n" catch {eval exec $cmd} res send_log "cmd output: $res\n" |