doc/SystemTap_Beginners_Guide/testsuite/systemtap.base/alias_suffixes01.stp
raw| 1 | /* |
| 2 | * alias_suffixes01.stp |
| 3 | * |
| 4 | * Check basic alias suffix functionality |
| 5 | */ |
| 6 | |
| 7 | probe begin { println("systemtap starting probe") } |
| 8 | probe first.second = end { |
| 9 | println("systemtap ending probe") |
| 10 | print("systemtap test ") |
| 11 | } |
| 12 | probe third = first { } |
| 13 | probe third.second { println("success") } |