doc/SystemTap_Beginners_Guide/testsuite/systemtap.base/optionalprobe.stp
raw| 1 | #! stap |
| 2 | |
| 3 | # test optional probe |
| 4 | |
| 5 | probe foo ?, |
| 6 | process("/do/not/exist").function("main") !, |
| 7 | kernel.mark("no such mark") ?, |
| 8 | kernel.trace("no trace") !, |
| 9 | process.foo ?, |
| 10 | kernel.statement("no statement") !, |
| 11 | module("no mod").function("*") ?, |
| 12 | kernel.function("no such func*") !, |
| 13 | begin { |
| 14 | } |