diff options
| author | dsmith <dsmith> | 2006-11-28 21:21:53 +0000 |
|---|---|---|
| committer | dsmith <dsmith> | 2006-11-28 21:21:53 +0000 |
| commit | 7e6c246cb403ffa693ae541d31593d3451360a51 (patch) | |
| tree | 6bce06395c252a45effc9ade1d12692e688c29e9 /testsuite/semok | |
| parent | 5e600bd67fbc68a931aea938c1685cb66eb93d3f (diff) | |
| download | systemtap-steved-7e6c246cb403ffa693ae541d31593d3451360a51.tar.gz systemtap-steved-7e6c246cb403ffa693ae541d31593d3451360a51.tar.xz systemtap-steved-7e6c246cb403ffa693ae541d31593d3451360a51.zip | |
2006-11-28 David Smith <dsmith@redhat.com>
* semko/thirtyfour.stp: Checks for writing to target variable in
.return probe.
* semok/twentyfour.stp: Tests read access to target variable in
.return probe.
Diffstat (limited to 'testsuite/semok')
| -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) +} |
