aboutsummaryrefslogtreecommitdiffstats
path: root/include/trace/events/sched.h
diff options
context:
space:
mode:
authorMasami Hiramatsu <mhiramat@redhat.com>2009-11-24 16:56:45 -0500
committerIngo Molnar <mingo@elte.hu>2009-11-26 04:55:37 -0500
commitd1eb650ff4130972fa21462fa49cd35a2865403b (patch)
treee43cee89ccad8adfa06f2e5f746ad96d2e00d9b3 /include/trace/events/sched.h
parent80bbf6b641c8843b9d751a1f299aa7ee073ab9d4 (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 'include/trace/events/sched.h')
-rw-r--r--include/trace/events/sched.h25
1 files changed, 0 insertions, 25 deletions
diff --git a/include/trace/events/sched.h b/include/trace/events/sched.h
index 9d316b22388c..cfceb0b73e20 100644
--- a/include/trace/events/sched.h
+++ b/include/trace/events/sched.h
@@ -288,31 +288,6 @@ TRACE_EVENT(sched_process_fork,
288); 288);
289 289
290/* 290/*
291 * Tracepoint for sending a signal:
292 */
293TRACE_EVENT(sched_signal_send,
294
295 TP_PROTO(int sig, struct task_struct *p),
296
297 TP_ARGS(sig, p),
298
299 TP_STRUCT__entry(
300 __field( int, sig )
301 __array( char, comm, TASK_COMM_LEN )
302 __field( pid_t, pid )
303 ),
304
305 TP_fast_assign(
306 memcpy(__entry->comm, p->comm, TASK_COMM_LEN);
307 __entry->pid = p->pid;
308 __entry->sig = sig;
309 ),
310
311 TP_printk("sig=%d comm=%s pid=%d",
312 __entry->sig, __entry->comm, __entry->pid)
313);
314
315/*
316 * XXX the below sched_stat tracepoints only apply to SCHED_OTHER/BATCH/IDLE 291 * XXX the below sched_stat tracepoints only apply to SCHED_OTHER/BATCH/IDLE
317 * adding sched_stat support to SCHED_FIFO/RR would be welcome. 292 * adding sched_stat support to SCHED_FIFO/RR would be welcome.
318 */ 293 */