lkml.org 
[lkml]   [2009]   [Nov]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH -tip 0/3] tracepoint: Add signal events
Date
> Roland McGrath wrote:
> > I would add the siginfo_t * argument to each of these tracepoints.
>
> I see. Is it OK to record only si_errno and si_code? because si_signo
> might be as same as sig.

Yes, si_signo will match sig. Which siginfo_t fields are interesting to
record can vary by signal (i.e. by si_code). si_code and si_errno are
certainly the first things that come to mind as most useful. For SI_TIMER,
si_tid, si_overrun, and si_sigval are interesting. For others, si_pid and
si_uid are interesting.


Thanks,
Roland


\
 
 \ /
  Last update: 2009-11-18 22:21    [W:0.050 / U:0.432 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site