diff options
author | Stan Cox <scox@redhat.com> | 2008-11-26 22:41:48 -0500 |
---|---|---|
committer | Stan Cox <scox@redhat.com> | 2008-11-26 22:41:48 -0500 |
commit | 349dc70e4967d0ae1fd7d504bd2c5c13f7b30fd8 (patch) | |
tree | bf8fda0988b1eab045dfdc33a0c757d8e84fb944 /testsuite/systemtap.base/static_uprobes.stp | |
parent | d0f2eabd2bf318502edddc50f60635df5d16c744 (diff) | |
download | systemtap-steved-349dc70e4967d0ae1fd7d504bd2c5c13f7b30fd8.tar.gz systemtap-steved-349dc70e4967d0ae1fd7d504bd2c5c13f7b30fd8.tar.xz systemtap-steved-349dc70e4967d0ae1fd7d504bd2c5c13f7b30fd8.zip |
Support debuginfo static uprobes.
Diffstat (limited to 'testsuite/systemtap.base/static_uprobes.stp')
-rw-r--r-- | testsuite/systemtap.base/static_uprobes.stp | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/testsuite/systemtap.base/static_uprobes.stp b/testsuite/systemtap.base/static_uprobes.stp index 25e64a37..b9de197e 100644 --- a/testsuite/systemtap.base/static_uprobes.stp +++ b/testsuite/systemtap.base/static_uprobes.stp @@ -1,17 +1,14 @@ -probe process("tstlabel.x").mark("label1") +probe process("static_uprobes.x").mark("label1") { - probe_str=user_string($probe) - printf("In %s probe\n", probe_str) + printf("In label1 probe\n") } -probe process("tstlabel.x").mark("label2") +probe process("static_uprobes.x").mark("label2") { - probe_str=user_string($probe) - printf("In %s probe %#x\n", probe_str, $arg1) + printf("In label2 probe %#x\n", $arg1) } -probe process("tstlabel.x").mark("label3") +probe process("static_uprobes.x").mark("label3") { - probe_str=user_string($probe) - printf("In %s probe %#x %#x\n", probe_str, $arg1, $arg2) + printf("In label3 probe %#x %#x\n", $arg1, $arg2) } |