aboutsummaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
authorZhaolei <zhaolei@cn.fujitsu.com>2009-08-07 18:55:48 +0800
committerFrederic Weisbecker <fweisbec@gmail.com>2009-08-18 02:07:04 +0200
commitf2d84b65b9778e8a35dd904f7d3993f0a60c9756 (patch)
tree472a349bcc647cdf99c55f832156492478734f99 /firmware
parentdf4ecf1524c7793de3121b2d4e5fc6bcc0da3bfb (diff)
ftrace: Unify effect of writing to trace_options and option/*
"echo noglobal-clock > trace_options" can be used to change trace clock but "echo 0 > options/global-clock" can't. The flag toggling will be silently accepted without actually changing the clock callback. We can fix it by using set_tracer_flags() in trace_options_core_write(). Changelog: v1->v2: Simplified switch() after Li Zefan <lizf@cn.fujitsu.com>'s suggestion Signed-off-by: Zhao Lei <zhaolei@cn.fujitsu.com> Cc: Steven Rostedt <srostedt@redhat.com> Cc: Li Zefan <lizf@cn.fujitsu.com> Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Diffstat (limited to 'firmware')
0 files changed, 0 insertions, 0 deletions