diff options
| author | Zhaolei <[email protected]> | 2009-08-07 10:55:48 +0000 |
|---|---|---|
| committer | Frederic Weisbecker <[email protected]> | 2009-08-18 00:07:04 +0000 |
| commit | f2d84b65b9778e8a35dd904f7d3993f0a60c9756 (patch) | |
| tree | 472a349bcc647cdf99c55f832156492478734f99 /lib/flex_array.c | |
| parent | Merge branch 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus (diff) | |
| download | kernel-f2d84b65b9778e8a35dd904f7d3993f0a60c9756.tar.gz kernel-f2d84b65b9778e8a35dd904f7d3993f0a60c9756.zip | |
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 <[email protected]>'s
suggestion
Signed-off-by: Zhao Lei <[email protected]>
Cc: Steven Rostedt <[email protected]>
Cc: Li Zefan <[email protected]>
Signed-off-by: Frederic Weisbecker <[email protected]>
Diffstat (limited to 'lib/flex_array.c')
0 files changed, 0 insertions, 0 deletions
