Debian Codegraph @

doc/SystemTap_Beginners_Guide/testsuite/systemtap.bpf/bpf_tests/try_catch_1.stp

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 }