diff options
Diffstat (limited to 'testsuite')
-rwxr-xr-x | testsuite/buildok/syscall.stp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/testsuite/buildok/syscall.stp b/testsuite/buildok/syscall.stp new file mode 100755 index 00000000..f4f23c62 --- /dev/null +++ b/testsuite/buildok/syscall.stp @@ -0,0 +1,8 @@ +#! stap -p4 + +probe syscall.*, syscall.*.return { + if (returnp) + printf("%d\n", returnval()) + else + printf("%s (%s) = ", name, argstr) +} |