]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit78e7d5e8ba2186b6d7c352e59037151f7a3831f6
treefa6719d849c7d3d8b1a7f753c877ac871035701e
parentd2b6f6b76d7365da1dd2b08deccfaea80d968434
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