diff options
author | Steven Rostedt <srostedt@redhat.com> | 2009-12-21 22:35:16 -0500 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2009-12-21 22:35:16 -0500 |
commit | c757bea93bea4b77ebd181cc6dca60c15e3b1a2c (patch) | |
tree | f1a4ddfea72acf13864f543648bf3f79924cbdc3 /lib/klist.c | |
parent | 7e25f44cbf8d95a9748fdfd19c06145f19fd10e3 (diff) | |
download | op-kernel-dev-c757bea93bea4b77ebd181cc6dca60c15e3b1a2c.zip op-kernel-dev-c757bea93bea4b77ebd181cc6dca60c15e3b1a2c.tar.gz |
tracing: Fix setting tracer specific options
The function __set_tracer_option() takes as its last parameter a
"neg" value. If set it should negate the value of the option.
The trace_options_write() passed the value written to the file
which is what the new value needs to be set as. But since this
is not the negative, it never sets the value.
Reported-by: Peter Zijlstra <peterz@infradead.org>
Cc: Li Zefan <lizf@cn.fujitsu.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'lib/klist.c')
0 files changed, 0 insertions, 0 deletions