1TRACE_SIGNAL_GENERAT(9) SIGNAL TRACE_SIGNAL_GENERAT(9)
2
3
4
6 trace_signal_generate - called when a signal is generated
7
9 void trace_signal_generate(int sig, struct siginfo * info,
10 struct task_struct * task);
11
13 sig
14 signal number
15
16 info
17 pointer to struct siginfo
18
19 task
20 pointer to struct task_struct
21
23 Current process sends a 'sig' signal to 'task' process with 'info'
24 siginfo. If 'info' is SEND_SIG_NOINFO or SEND_SIG_PRIV, 'info' is not a
25 pointer and you can't access its field. Instead, SEND_SIG_NOINFO means
26 that si_code is SI_USER, and SEND_SIG_PRIV means that si_code is
27 SI_KERNEL.
28
30 Jason Baron <jbaron@redhat.com>
31 Author.
32
33 William Cohen <wcohen@redhat.com>
34 Author.
35
37Kernel Hackers Manual 2.6. November 2011 TRACE_SIGNAL_GENERAT(9)