ftrace: use current CPU for function startup
authorSteven Rostedt <rostedt@goodmis.org>
Fri, 11 Jul 2008 00:58:14 +0000 (20:58 -0400)
committerIngo Molnar <mingo@elte.hu>
Fri, 11 Jul 2008 13:49:21 +0000 (15:49 +0200)
commit26bc83f4cb911a0b4dabfe23b700aaf3235f2955
treed68f36b2373164af899678eada1922dbdbfbd13a
parentad591240ceadcaf41b2a88855ca5f1c77c5a0298
ftrace: use current CPU for function startup

This is more of a clean up. Currently the function tracer initializes the
tracer with which ever CPU was last used for tracing. This value isn't
realy useful for function tracing, but at least it should be something other
than a random number.

Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Cc: Steven Rostedt <srostedt@redhat.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/trace/trace_functions.c