tracing: Move sched event insertion helpers in the sched switch tracer file
authorFrederic Weisbecker <fweisbec@gmail.com>
Wed, 29 Jul 2009 16:00:29 +0000 (18:00 +0200)
committerFrederic Weisbecker <fweisbec@gmail.com>
Thu, 6 Aug 2009 05:28:06 +0000 (07:28 +0200)
commit82e04af498a85ba425efe77580b7ba08234411df
tree3683fb5e68cd96b518eb72d76b608205613feb24
parentc0a0d0d3f65284c71115a9bb1ed801ee33eeb552
tracing: Move sched event insertion helpers in the sched switch tracer file

The sched events helpers which insert the sched switch and wakeup
events into the ring buffer currently reside in trace.c
But this file is quite overloaded and the right place for these helpers
is in the sched switch tracer file.

Then move them to trace_functions.c

Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
kernel/trace/trace.c
kernel/trace/trace_sched_switch.c