diff options
author | Masami Hiramatsu <mhiramat@redhat.com> | 2008-09-09 16:32:59 -0400 |
---|---|---|
committer | Masami Hiramatsu <mhiramat@redhat.com> | 2008-09-09 16:32:59 -0400 |
commit | 256d22cfb336b4cf0ec5b35bab89ca55ff5ce9ee (patch) | |
tree | c346a98b7867655e6f2ac0b40abafc0313dec9d6 /testsuite/buildok | |
parent | 5d67b47ccd850e53c6c6c72a6f63327faa190966 (diff) | |
download | systemtap-steved-256d22cfb336b4cf0ec5b35bab89ca55ff5ce9ee.tar.gz systemtap-steved-256d22cfb336b4cf0ec5b35bab89ca55ff5ce9ee.tar.xz systemtap-steved-256d22cfb336b4cf0ec5b35bab89ca55ff5ce9ee.zip |
Added tests for utrace-syscall probe context variables.
Diffstat (limited to 'testsuite/buildok')
-rwxr-xr-x | testsuite/buildok/per-process-syscall.stp | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/testsuite/buildok/per-process-syscall.stp b/testsuite/buildok/per-process-syscall.stp new file mode 100755 index 00000000..c2c41c0b --- /dev/null +++ b/testsuite/buildok/per-process-syscall.stp @@ -0,0 +1,18 @@ +#! stap -p4 +# +# per-process syscall trace test + +probe process.syscall { +print($syscall) +print($arg1) +print($arg2) +print($arg3) +print($arg4) +print($arg5) +print($arg6) +} + +probe process.syscall.return { +print($syscall) +print($return) +} |