This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Systemtap probe for Signals


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








Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]