doc/SystemTap_Beginners_Guide/testsuite/systemtap.base/alias_suffixes03.stp
raw| 1 | /* |
| 2 | * alias_suffixes02.stp |
| 3 | * |
| 4 | * Check whether alias suffixes are only invoked on ordinary matching failure |
| 5 | */ |
| 6 | |
| 7 | probe begin(1) { |
| 8 | println("systemtap starting probe") |
| 9 | } |
| 10 | probe first.second = begin(2) { |
| 11 | println("systemtap test failure") |
| 12 | } |
| 13 | probe third = first { } |
| 14 | probe third.second = end { |
| 15 | println("systemtap ending probe") |
| 16 | println("systemtap test success") |
| 17 | } |
| 18 | probe third.second { } |