diff options
Diffstat (limited to 'testsuite/semok/twelve.stp')
-rwxr-xr-x | testsuite/semok/twelve.stp | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/testsuite/semok/twelve.stp b/testsuite/semok/twelve.stp new file mode 100755 index 00000000..8eccd463 --- /dev/null +++ b/testsuite/semok/twelve.stp @@ -0,0 +1,17 @@ +#! stap -p2 + +function trace (s) { return 0 } + +# resolve to a set of kernel functions + +probe kernel.function("pipe_*") +{ + trace("doing something with a pipe") +} + +# resolve to a set of module functions + +probe module("jbd").function("journal_get_*_access@*/transaction.c") +{ + trace("inside journal_get_*_access, in transaction.c") +} |