diff options
author | Dave Brolley <brolley@redhat.com> | 2008-08-13 11:56:16 -0400 |
---|---|---|
committer | Dave Brolley <brolley@redhat.com> | 2008-08-13 11:56:16 -0400 |
commit | 5da0b3b2512ad912a845ff0bab34263cbb4a1dfc (patch) | |
tree | d8765d5e69768980b8259e64b4122dcf9c8c452f /testsuite/systemtap.base | |
parent | 7f7720519a6848403d91cc90269a04bade0dac2e (diff) | |
parent | b01369baab6f5bd6887e99ad44048197e0d38c04 (diff) | |
download | systemtap-steved-5da0b3b2512ad912a845ff0bab34263cbb4a1dfc.tar.gz systemtap-steved-5da0b3b2512ad912a845ff0bab34263cbb4a1dfc.tar.xz systemtap-steved-5da0b3b2512ad912a845ff0bab34263cbb4a1dfc.zip |
Merge branch 'master' of ssh://sources.redhat.com/git/systemtap
Conflicts:
ChangeLog
testsuite/ChangeLog
Diffstat (limited to 'testsuite/systemtap.base')
-rw-r--r-- | testsuite/systemtap.base/utrace_p4.exp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/testsuite/systemtap.base/utrace_p4.exp b/testsuite/systemtap.base/utrace_p4.exp index 3083b97f..081fee95 100644 --- a/testsuite/systemtap.base/utrace_p4.exp +++ b/testsuite/systemtap.base/utrace_p4.exp @@ -15,6 +15,7 @@ set syscall_script {"probe process(\"/bin/ls\").syscall { printf(\"|%d\", \$sysc set syscall_return_script {"probe process(\"/bin/ls\").syscall.return { printf(\"|%d\", \$syscall) }"} set thread_begin_script {"probe process(\"/bin/ls\").thread.begin { print(\"ls thread.begin\") }"} set thread_end_script {"probe process(\"/bin/ls\").thread.end { print(\"ls thread.end\") }"} +set all_begin_script {"probe process(\"*\").begin { print(\"begin\") }"} set pid_begin_script {"probe process(123).begin { print(\"123 begin\") }"} set pid_end_script {"probe process(123).end { print(\"123 end\") }"} @@ -128,3 +129,11 @@ if {$utrace_support_found == 0} { # Try compiling an thread.end script using a pid stap_compile $TEST_NAME 1 $pid_thread_end_script } + +set TEST_NAME "UTRACE_P4_07" +if {$utrace_support_found == 0} { + untested "$TEST_NAME : no kernel utrace support found" +} else { + # Try compiling an begin script using a path of "*" + stap_compile $TEST_NAME 1 $all_begin_script +} |