Systemtap probe for Signals
Li Guanglei
guanglei@cn.ibm.com
Wed Jul 26 07:13:00 GMT 2006
Hi,
I help Manoj to forward his mail since he had trouble of posting
onto SystemTap mailinglist.
--->>
Hi,
Find below the updated tapset for signal subsystem. Please lemme know
your suggestions on the same.
Thanks & Regards, Manoj
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Manoj S Pattabhiraman, ADTools, Linux on zSeries, Ph : +91 80 51776449
T/L 92 46951, e-mail: mpattabh@in.ibm.com
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?
>
> I wish it would be better to have a separate stp file for signal
> subsystem.
>
> > 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?
>
> Looking at these functions, will let you know.
>
> > 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.
>
> Accepted. I would rather add a return probe point for the above
> mentioned function. Is that fine.
>
> Thanks
>
> Manoj
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: signal.stp
URL: <http://sourceware.org/pipermail/systemtap/attachments/20060726/fde3f798/attachment.ksh>
More information about the Systemtap
mailing list