aboutsummaryrefslogtreecommitdiff
path: root/kernel/trace/trace.h
diff options
context:
space:
mode:
authorPeter Zijlstra <peterz@infradead.org>2008-09-04 10:24:16 +0200
committerIngo Molnar <mingo@elte.hu>2008-10-14 10:36:48 +0200
commit80b5e940050c273ba277acbf3a9fbc1d4441e681 (patch)
treedd40f96b91fe3dc5508395cf9a559e14070499e7 /kernel/trace/trace.h
parentf09ce573f57ddc35c67b39e51f34545877b30031 (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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/trace/trace.h b/kernel/trace/trace.h
index 5f54c875c8b..77c265f6a77 100644
--- a/kernel/trace/trace.h
+++ b/kernel/trace/trace.h
@@ -41,6 +41,7 @@ struct ctx_switch_entry {
unsigned int next_pid;
unsigned char next_prio;
unsigned char next_state;
+ unsigned int next_cpu;
};
/*