[PATCH] Add panic tapset
Bryn M. Reeves
bmr@redhat.com
Mon Jun 18 17:56:00 GMT 2012
Hi Folks,
This patch adds a tapset with a single function to call the native
panic() routine. This is useful in order to trigger a core dump to
collect post-mortem debugging data when some condition occurs.
I've used this sort of trick several times (e.g. the PanicOnOom war
story in the systemtap wiki) and find it a very handy tool.
E.g.:
stap -g -e 'probe end { panic("whoops!") }'
Regards,
Bryn.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-panic-tapset.patch
Type: text/x-patch
Size: 1646 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/systemtap/attachments/20120618/c69215df/attachment.bin>
More information about the Systemtap
mailing list