diff options
author | Peter Zijlstra <peterz@infradead.org> | 2008-09-04 04:24:16 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-10-14 04:36:48 -0400 |
commit | 80b5e940050c273ba277acbf3a9fbc1d4441e681 (patch) | |
tree | dd40f96b91fe3dc5508395cf9a559e14070499e7 /kernel/trace/trace.h | |
parent | f09ce573f57ddc35c67b39e51f34545877b30031 (diff) |
ftrace: sched_switch: show the wakee's cpu
While profiling the smp behaviour of the scheduler it was needed to know to
which cpu a task got woken.
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/trace/trace.h')
-rw-r--r-- | kernel/trace/trace.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/trace/trace.h b/kernel/trace/trace.h index 5f54c875c8be..77c265f6a779 100644 --- a/kernel/trace/trace.h +++ b/kernel/trace/trace.h | |||
@@ -41,6 +41,7 @@ struct ctx_switch_entry { | |||
41 | unsigned int next_pid; | 41 | unsigned int next_pid; |
42 | unsigned char next_prio; | 42 | unsigned char next_prio; |
43 | unsigned char next_state; | 43 | unsigned char next_state; |
44 | unsigned int next_cpu; | ||
44 | }; | 45 | }; |
45 | 46 | ||
46 | /* | 47 | /* |