diff options
author | Mark Wielaard <mjw@redhat.com> | 2009-09-18 08:23:02 +0200 |
---|---|---|
committer | Mark Wielaard <mjw@redhat.com> | 2009-09-18 08:23:02 +0200 |
commit | c61807d2aa85b41518c36ae34541be6d03dda03b (patch) | |
tree | 2f604bde1f7331b12d6c7c8d526c72c6565c52c3 | |
parent | 5ec323b5228c83b15fdae81029eddab1b745703b (diff) | |
download | systemtap-steved-c61807d2aa85b41518c36ae34541be6d03dda03b.tar.gz systemtap-steved-c61807d2aa85b41518c36ae34541be6d03dda03b.tar.xz systemtap-steved-c61807d2aa85b41518c36ae34541be6d03dda03b.zip |
PR10417 Enable vta-test.exp testcase and add to NEWS.
* NEW: Mention DW_OP_{implicit,stack}_value support.
* testsuite/systemtap.base/vta-test.exp: Don't XFAIL. Use staprun2.
* testsuite/systemtap.base/vta-test.stp: Enable all probes.
-rw-r--r-- | NEWS | 3 | ||||
-rw-r--r-- | testsuite/systemtap.base/vta-test.exp | 3 | ||||
-rw-r--r-- | testsuite/systemtap.base/vta-test.stp | 2 |
3 files changed, 5 insertions, 3 deletions
@@ -79,6 +79,9 @@ future versions of systemtap. To test this new transport mechanism, define 'STP_USE_RING_BUFFER'. +- Support for recognizing DW_OP_{stack,implicit}_value dwarf expressions + as emitted by gcc-vta. + * What's new in version 0.9.9 - Systemwide kernel .function.return (kretprobe) maxactive defaults may diff --git a/testsuite/systemtap.base/vta-test.exp b/testsuite/systemtap.base/vta-test.exp index d1fadb6a..23d7b4d3 100644 --- a/testsuite/systemtap.base/vta-test.exp +++ b/testsuite/systemtap.base/vta-test.exp @@ -23,8 +23,7 @@ if {[installtest_p] && [uprobes_p]} { # See if GCC produce DW_OP_implicit_value and/or DW_OP_stack_value for us. set regexp {[stack|implicit]_value} if {![catch {exec readelf --debug-dump=loc vta-test.exe | egrep "$regexp"}]} { - setup_xfail 10417 "*-*-*" - stap_run $srcdir/$subdir/$test.stp -c ./$test.exe + stap_run2 $srcdir/$subdir/$test.stp -c ./$test.exe } { untested "$test (no-gcc-vta)" } diff --git a/testsuite/systemtap.base/vta-test.stp b/testsuite/systemtap.base/vta-test.stp index 9f8527ee..862374e6 100644 --- a/testsuite/systemtap.base/vta-test.stp +++ b/testsuite/systemtap.base/vta-test.stp @@ -1 +1 @@ -probe process("vta-test.exe").mark("t1") { printf("i: 0x%x\n", $i) } +probe process("vta-test.exe").mark("t?") { printf("i: 0x%x\n", $i) } |