Debian Codegraph @

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

raw
1 probe begin { println ("ok ".pp()) println (1/0) println ("ko ".pp()) } # handler should unwind before seemenot message
2 probe begin(10) { println ("ko ".pp()) } # this late begin probe shouldn't run, ERROR
3 probe end, end(10) { println ("ko ".pp()) } # end probes won't be run due to ERROR state
4 probe error, error(10) { println ("ok ".pp()) } # these handlers should be run
5 probe error(20),error(30) { println (1/0) println ("ko ".pp()) } # likewise