ftrace: fix boot trace sched startup
authorSteven Rostedt <srostedt@redhat.com>
Sat, 8 Nov 2008 03:36:02 +0000 (22:36 -0500)
committerIngo Molnar <mingo@elte.hu>
Sat, 8 Nov 2008 08:51:09 +0000 (09:51 +0100)
commit75f5c47da386445ba0c5a8b7e3ca0c906e763369
treefa6719d849c7d3d8b1a7f753c877ac871035701e
parent0183fb1c94b74862b073590fc52c56b7364b7bad
ftrace: fix boot trace sched startup

Impact: boot tracer startup modified

The boot tracer calls into some of the schedule tracing private functions
that should not be exported. This patch cleans it up, and makes
way for further changes in the ftrace infrastructure.

This patch adds a api to assign a tracer array to the schedule
context switch tracer.

Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Acked-by: Frederic Weisbecker <fweisbec@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/trace/trace.h
kernel/trace/trace_boot.c
kernel/trace/trace_sched_switch.c