diff options
author | Mark Wielaard <mjw@redhat.com> | 2009-06-15 17:16:14 +0200 |
---|---|---|
committer | Mark Wielaard <mjw@redhat.com> | 2009-06-15 17:20:06 +0200 |
commit | cba30aa93a8836cd9f88b494c17bc991c997d5f2 (patch) | |
tree | c46c444c486c16fa79b968e851a1705c7b3a6162 /testsuite/systemtap.exelib/mark.tcl | |
parent | 5e3d7f3a3aa8d11b67e74de0c3d9187c323cbff2 (diff) | |
download | systemtap-steved-cba30aa93a8836cd9f88b494c17bc991c997d5f2.tar.gz systemtap-steved-cba30aa93a8836cd9f88b494c17bc991c997d5f2.tar.xz systemtap-steved-cba30aa93a8836cd9f88b494c17bc991c997d5f2.zip |
Add (disabled) testcase for stap probe marks to exelib.
* testsuite/systemtap.exelib/exelib.exp: Compile against sdt.h.
* testsuite/systemtap.exelib/uprobes_exe.c: Add main_count probe mark.
* testsuite/systemtap.exelib/uprobes_lib.c: Add func_count probe mark.
* testsuite/systemtap.exelib/mark.tcl: New test.
* testsuite/systemtap.exelib/mark.stp: New test tapset.
Diffstat (limited to 'testsuite/systemtap.exelib/mark.tcl')
-rw-r--r-- | testsuite/systemtap.exelib/mark.tcl | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/testsuite/systemtap.exelib/mark.tcl b/testsuite/systemtap.exelib/mark.tcl new file mode 100644 index 00000000..1f21aabc --- /dev/null +++ b/testsuite/systemtap.exelib/mark.tcl @@ -0,0 +1,11 @@ +set ::result_string {main_count: 3 +main_count: 2 +main_count: 1 +func_count: 3 +func_count: 2 +func_count: 1} + +# Only run on make installcheck +if {! [installtest_p]} { untested "lib-$testname"; return } +if {! [utrace_p]} { untested "lib-$testname"; return } +stap_run3 mark-$testname $srcdir/$subdir/mark.stp $testexe $testlib -c $testexe |