diff options
author | Stan Cox <scox@redhat.com> | 2009-03-20 16:30:19 -0400 |
---|---|---|
committer | Stan Cox <scox@redhat.com> | 2009-03-20 16:30:19 -0400 |
commit | 422735b3ec857e812097566e28950aa3313892b4 (patch) | |
tree | fae36b5700dce66fdefb30d69e184bd446a6112a /testsuite/systemtap.base/sdt.exp | |
parent | 947d86f92e1e1a12e587e6a7b1955ff324c3fdf5 (diff) | |
download | systemtap-steved-422735b3ec857e812097566e28950aa3313892b4.tar.gz systemtap-steved-422735b3ec857e812097566e28950aa3313892b4.tar.xz systemtap-steved-422735b3ec857e812097566e28950aa3313892b4.zip |
Define static user probe point using asm instead of c.
* includes/sys/sdt.h (STAP_PROBE_DATA): New. Define the probe point
using asm instead of c.
(STAP_PROBEN): Use it.
* testsuite/systemtap.base/sdt.exp: Continue if a compile fails.
* testsuite/systemtap.base/static_uprobes.exp: Don't test setting
probe without .probes section.
Diffstat (limited to 'testsuite/systemtap.base/sdt.exp')
-rw-r--r-- | testsuite/systemtap.base/sdt.exp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/testsuite/systemtap.base/sdt.exp b/testsuite/systemtap.base/sdt.exp index 21b94810..a398d795 100644 --- a/testsuite/systemtap.base/sdt.exp +++ b/testsuite/systemtap.base/sdt.exp @@ -27,7 +27,8 @@ set res [target_compile $srcdir/$subdir/$test.c $test.prog executable "$test_fla if { $res != "" } { verbose "target_compile failed: $res" 2 fail "compiling $test.c $extra_flag" - return + untested "$test $extra_flag" + continue } else { pass "compiling $test.c $extra_flag" } @@ -49,7 +50,8 @@ set res [target_compile $srcdir/$subdir/$test.c $test.prog executable "$test_fla if { $res != "" } { verbose "target_compile failed: $res" 2 fail "compiling $test.c c++ $extra_flag" - return + untested "$test $extra_flag" + continue } else { pass "compiling $test.c c++ $extra_flag" } |