summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2009-03-03 00:38:31 +0300
committerIngo Molnar <mingo@elte.hu>2009-03-03 00:38:31 +0300
commited662d9b2a6cb26e1399f57b88b565c0a68c60d4 (patch)
tree4cca36ab5aa5aa08b799c8f9bbe3888b55682694 /include
parentfdfa66ab455c79d699833c43ac0e09900133fd7c (diff)
parent96ccd21cd13140221bda74a4fc4e53ffeba7c7d4 (diff)
downloadlinux-ed662d9b2a6cb26e1399f57b88b565c0a68c60d4.tar.xz
Merge branch 'tip/tracing/ftrace' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-2.6-trace into tracing/ftrace
Diffstat (limited to 'include')
-rw-r--r--include/trace/sched_event_types.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/trace/sched_event_types.h b/include/trace/sched_event_types.h
index ba059c10b58a..a6de5c1601a0 100644
--- a/include/trace/sched_event_types.h
+++ b/include/trace/sched_event_types.h
@@ -71,10 +71,15 @@ TRACE_EVENT_FORMAT(sched_switch,
TRACE_STRUCT(
TRACE_FIELD(pid_t, prev_pid, prev->pid)
TRACE_FIELD(int, prev_prio, prev->prio)
+ TRACE_FIELD_SPECIAL(char next_comm[TASK_COMM_LEN],
+ next_comm,
+ TPCMD(memcpy(TRACE_ENTRY->next_comm,
+ next->comm,
+ TASK_COMM_LEN)))
TRACE_FIELD(pid_t, next_pid, next->pid)
TRACE_FIELD(int, next_prio, next->prio)
),
- TPRAWFMT("prev %d:%d ==> next %d:%d")
+ TPRAWFMT("prev %d:%d ==> next %s:%d:%d")
);
TRACE_EVENT_FORMAT(sched_migrate_task,