Debian Codegraph @

doc/SystemTap_Beginners_Guide/testsuite/systemtap.base/alias_suffixes02.stp

raw
1 /*
2 * alias_suffixes02.stp
3 *
4 * Check whether alias suffixes and wildcards interact correctly
5 */
6
7 /* 1 -- if an expansion includes ordinary matches, suffixes are not included */
8 probe first.icecream = begin(3) { println("systemtap test failure") }
9 probe third.second = begin(1) { print("systemtap starting ") }
10 probe third.secret = begin(2) { println("probe") }
11 probe third = first { }
12 probe third.*ec* { }
13
14 /* 2 -- if an expansion has no ordinary matches, suffixes are included */
15 probe fourth.icecream = end(1) { println("systemtap test failure") }
16 probe fourth.sectarian = end(2) { println("systemtap ending probe") }
17 probe fourth.second = end(3) { println("systemtap test success") }
18 probe fifth = fourth { }
19 probe fifth.*se* { }