ftrace: Move setting of clock-source out of options
authorZhaolei <zhaolei@cn.fujitsu.com>
Tue, 25 Aug 2009 08:12:56 +0000 (16:12 +0800)
committerSteven Rostedt <rostedt@goodmis.org>
Wed, 26 Aug 2009 04:32:08 +0000 (00:32 -0400)
commit5079f3261ffd7fe4a537679af695f2328943a245
tree1f9ab5128f37c3628979496610bc862b4a321cd6
parent87a342f5db69d53ea70493bb1ec69c9047677038
ftrace: Move setting of clock-source out of options

There are many clock sources for the tracing system but we can only
enable/disable one at a time with the trace/options file.
We can move the setting of clock-source out of options and add a separate
file for it:
 # cat trace_clock
 [local] global
 # echo global > trace_clock
 # cat trace_clock
 local [global]

Signed-off-by: Zhao Lei <zhaolei@cn.fujitsu.com>
LKML-Reference: <4A939D08.6050604@cn.fujitsu.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
kernel/trace/trace.c
kernel/trace/trace.h