Systemtap probe for Signals
Li Guanglei
guanglei@cn.ibm.com
Tue Jul 4 09:28:00 GMT 2006
Manoj S Pattabhiraman ??:
> Hi,
>
> I just started of with trying systemtap by probing on signal handling.
> Those probes are now consolidated under signal.stp.
>
> (See attached file: signal.stp)
>
> Please lemme know your suggestions on the same and how to go forward.
>
> Thanks & Regards, Manoj
> -------------------------------------------------------------------
> Manoj S Pattabhiraman, e-mail: mpattabh@in.ibm.com
There are some signal related probes defined in process.stp, they are:
process.signal_send, process.signal_handle, _process.signal_send.part[1-3]
Should we put all signal related probes(excluding signal related
syscalls) into a separate stp file, say, signal.stp?
some comments of your stp script:
You defined:
probe signal.sendsig = kernel.function("send_signal")
But should we include kernel.function("send_group_sigqueue") and
kernel.function("send_sigqueue") into signal.sendsig?
I don't think "probe signal.ignored" matches what it states in the
comment. It's used to return the status whether a signal has been
ignored. There is a similar function named is_ignored.
Thanks.
- Guanglei
More information about the Systemtap
mailing list