tracing: Move tracing_sched_{switch,wakeup}() into wakeup tracer
authorSteven Rostedt (Red Hat) <rostedt@goodmis.org>
Fri, 31 Oct 2014 00:44:53 +0000 (20:44 -0400)
committerSteven Rostedt <rostedt@goodmis.org>
Tue, 11 Nov 2014 17:43:15 +0000 (12:43 -0500)
commit243f7610a68a606eb1787c09450a440bf30bebe0
treeda33141093d8ba036a45f32b3dfbe5ce8a21dbd7
parent458faf0b88b19a46d51bb9760fa6e03a1bc6d97b
tracing: Move tracing_sched_{switch,wakeup}() into wakeup tracer

The only code that references tracing_sched_switch_trace() and
tracing_sched_wakeup_trace() is the wakeup latency tracer. Those
two functions use to belong to the sched_switch tracer which has
long been removed. These functions were left behind because the
wakeup latency tracer used them. But since the wakeup latency tracer
is the only one to use them, they should be static functions inside
that code.

Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
kernel/trace/trace.h
kernel/trace/trace_sched_switch.c
kernel/trace/trace_sched_wakeup.c