diff options
author | Ingo Molnar <mingo@elte.hu> | 2009-03-02 16:38:31 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-03-02 16:38:31 -0500 |
commit | ed662d9b2a6cb26e1399f57b88b565c0a68c60d4 (patch) | |
tree | 4cca36ab5aa5aa08b799c8f9bbe3888b55682694 /include | |
parent | fdfa66ab455c79d699833c43ac0e09900133fd7c (diff) | |
parent | 96ccd21cd13140221bda74a4fc4e53ffeba7c7d4 (diff) |
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.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/include/trace/sched_event_types.h b/include/trace/sched_event_types.h index ba059c10b58..a6de5c1601a 100644 --- a/include/trace/sched_event_types.h +++ b/include/trace/sched_event_types.h | |||
@@ -71,10 +71,15 @@ TRACE_EVENT_FORMAT(sched_switch, | |||
71 | TRACE_STRUCT( | 71 | TRACE_STRUCT( |
72 | TRACE_FIELD(pid_t, prev_pid, prev->pid) | 72 | TRACE_FIELD(pid_t, prev_pid, prev->pid) |
73 | TRACE_FIELD(int, prev_prio, prev->prio) | 73 | TRACE_FIELD(int, prev_prio, prev->prio) |
74 | TRACE_FIELD_SPECIAL(char next_comm[TASK_COMM_LEN], | ||
75 | next_comm, | ||
76 | TPCMD(memcpy(TRACE_ENTRY->next_comm, | ||
77 | next->comm, | ||
78 | TASK_COMM_LEN))) | ||
74 | TRACE_FIELD(pid_t, next_pid, next->pid) | 79 | TRACE_FIELD(pid_t, next_pid, next->pid) |
75 | TRACE_FIELD(int, next_prio, next->prio) | 80 | TRACE_FIELD(int, next_prio, next->prio) |
76 | ), | 81 | ), |
77 | TPRAWFMT("prev %d:%d ==> next %d:%d") | 82 | TPRAWFMT("prev %d:%d ==> next %s:%d:%d") |
78 | ); | 83 | ); |
79 | 84 | ||
80 | TRACE_EVENT_FORMAT(sched_migrate_task, | 85 | TRACE_EVENT_FORMAT(sched_migrate_task, |