☰
Debian Codegraph
@
5.5-1
5.4-1
/
/
doc
/
SystemTap_Beginners_Guide
/
testsuite
/
systemtap.bpf
/
bpf_tests
/
try_catch_1.stp
☽
☼
doc/SystemTap_Beginners_Guide/testsuite/systemtap.bpf/bpf_tests/try_catch_1.stp
code
plain
raw
1
probe oneshot {
2
3
try {
4
5
printf("BEGIN\n")
6
error("END PASS");
7
printf("END FAIL\n");
8
9
} catch (msg) {
10
11
printf("%s\n", msg);
12
}
13
14
}