diff options
author | Stan Cox <scox@redhat.com> | 2009-02-23 17:14:52 -0500 |
---|---|---|
committer | Stan Cox <scox@redhat.com> | 2009-02-23 17:14:52 -0500 |
commit | 9e67aff9f4c269e0a56524c3f2fafaf8e038bda7 (patch) | |
tree | e244aeb0af122f57b2839fa22f9915cb3e381c19 /testsuite/systemtap.base | |
parent | 3c1f71d54d487806d4dfde0421b43e95d3662ea5 (diff) | |
download | systemtap-steved-9e67aff9f4c269e0a56524c3f2fafaf8e038bda7.tar.gz systemtap-steved-9e67aff9f4c269e0a56524c3f2fafaf8e038bda7.tar.xz systemtap-steved-9e67aff9f4c269e0a56524c3f2fafaf8e038bda7.zip |
Improve static probe: c++ navigation, -l output.
* tapsets.cxx (dwflpp::build): Improve c+ method navigation.
Use .label for listing mode.
* systemtap.base/static_uprobes.exp: Test multiple invocations of the same
probe per block. (SW9770)
Diffstat (limited to 'testsuite/systemtap.base')
-rw-r--r-- | testsuite/systemtap.base/static_uprobes.exp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/testsuite/systemtap.base/static_uprobes.exp b/testsuite/systemtap.base/static_uprobes.exp index c76d4805..a4bd5e2c 100644 --- a/testsuite/systemtap.base/static_uprobes.exp +++ b/testsuite/systemtap.base/static_uprobes.exp @@ -14,6 +14,7 @@ puts $fp " void bar (int i) { + STATIC_UPROBES_TEST_PROBE_2(i); if (i == 0) i = 1000; STAP_PROBE1(static_uprobes,test_probe_2,i); @@ -158,7 +159,7 @@ expect { wait -if {$ok == 4} { pass "$test C" } { fail "$test C ($ok)" } +if {$ok == 5} { pass "$test C" } { fail "$test C ($ok)" } set ok 0 @@ -169,7 +170,6 @@ verbose -log "spawn stap -c $sup_exepath $sup_stppath" spawn stap -c $sup_exepath $sup_stppath expect { -timeout 180 - -re {In test_probe_1 probe} { incr ok; exp_continue } -re {In test_probe_2 probe 0x2} { incr ok; exp_continue } -re {In test_probe_0 probe 0x3} { incr ok; exp_continue } -re {In test_probe_3 probe 0x3 0x[0-9a-f][0-9a-f]} { incr ok; exp_continue } @@ -180,7 +180,7 @@ expect { wait -if {$ok == 4} { pass "$test C++" } { fail "$test C++ ($ok)" } +if {$ok == 5} { pass "$test C++" } { fail "$test C++ ($ok)" } # catch {exec rm -f $sup_srcpath $sup_exepath $supcplus_exepath $sup_hpath $sup_stppath} |