diff options
Diffstat (limited to 'testsuite/semok/twentyfour.stp')
-rwxr-xr-x | testsuite/semok/twentyfour.stp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/testsuite/semok/twentyfour.stp b/testsuite/semok/twentyfour.stp new file mode 100755 index 00000000..91dee48f --- /dev/null +++ b/testsuite/semok/twentyfour.stp @@ -0,0 +1,8 @@ +#! stap -p2 + +# read access to target variables should work in .return probes + +probe kernel.function("sys_read").return +{ + printf("fd is %d\n", $fd) +} |