diff options
Diffstat (limited to 'testsuite/systemtap.samples/sysopen.stp')
-rw-r--r-- | testsuite/systemtap.samples/sysopen.stp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/testsuite/systemtap.samples/sysopen.stp b/testsuite/systemtap.samples/sysopen.stp new file mode 100644 index 00000000..58a27b71 --- /dev/null +++ b/testsuite/systemtap.samples/sysopen.stp @@ -0,0 +1,9 @@ +#! stap + +# pulling out some params has been a problem; see PR 1295 +probe kernel.function("sys_open") { + log (execname() . " opened " . user_string($filename)) +} +probe timer.ms(10000) { + exit () +} |