testsuite/semok/twelve.stp
raw| 1 | #! stap -u -p2 |
| 2 | |
| 3 | function trace (s) { return 0 } |
| 4 | |
| 5 | # resolve to a set of kernel functions |
| 6 | |
| 7 | probe kernel.function("pipe_*") |
| 8 | { |
| 9 | trace("doing something with a pipe") |
| 10 | } |
| 11 | |
| 12 | # resolve to a set of module functions |
| 13 | |
| 14 | probe module("jbd").function("journal_get_*_access@*/transaction.c") ? |
| 15 | { |
| 16 | trace("inside journal_get_*_access, in transaction.c") |
| 17 | } |