diff options
author | Masami Hiramatsu <mhiramat@redhat.com> | 2009-11-24 16:56:45 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-11-26 04:55:37 -0500 |
commit | d1eb650ff4130972fa21462fa49cd35a2865403b (patch) | |
tree | e43cee89ccad8adfa06f2e5f746ad96d2e00d9b3 /kernel | |
parent | 80bbf6b641c8843b9d751a1f299aa7ee073ab9d4 (diff) |
tracepoint: Move signal sending tracepoint to events/signal.h
Move signal sending event to events/signal.h. This patch also
renames sched_signal_send event to signal_generate.
Changes in v4:
- Fix a typo of task_struct pointer.
Changes in v3:
- Add docbook style comments
Changes in v2:
- Add siginfo argument
- Add siginfo storing macro
Signed-off-by: Masami Hiramatsu <mhiramat@redhat.com>
Reviewed-by: Jason Baron <jbaron@redhat.com>
Acked-by: Roland McGrath <roland@redhat.com>
Cc: systemtap <systemtap@sources.redhat.com>
Cc: DLE <dle-develop@lists.sourceforge.net>
Cc: Oleg Nesterov <oleg@redhat.com>
LKML-Reference: <20091124215645.30449.60208.stgit@dhcp-100-2-132.bos.redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/signal.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/kernel/signal.c b/kernel/signal.c index 6705320784fd..a1e0cc6b32c3 100644 --- a/kernel/signal.c +++ b/kernel/signal.c | |||
@@ -27,7 +27,8 @@ | |||
27 | #include <linux/freezer.h> | 27 | #include <linux/freezer.h> |
28 | #include <linux/pid_namespace.h> | 28 | #include <linux/pid_namespace.h> |
29 | #include <linux/nsproxy.h> | 29 | #include <linux/nsproxy.h> |
30 | #include <trace/events/sched.h> | 30 | #define CREATE_TRACE_POINTS |
31 | #include <trace/events/signal.h> | ||
31 | 32 | ||
32 | #include <asm/param.h> | 33 | #include <asm/param.h> |
33 | #include <asm/uaccess.h> | 34 | #include <asm/uaccess.h> |
@@ -834,7 +835,7 @@ static int __send_signal(int sig, struct siginfo *info, struct task_struct *t, | |||
834 | struct sigqueue *q; | 835 | struct sigqueue *q; |
835 | int override_rlimit; | 836 | int override_rlimit; |
836 | 837 | ||
837 | trace_sched_signal_send(sig, t); | 838 | trace_signal_generate(sig, info, t); |
838 | 839 | ||
839 | assert_spin_locked(&t->sighand->siglock); | 840 | assert_spin_locked(&t->sighand->siglock); |
840 | 841 | ||