diff options
author | Steven Rostedt (Red Hat) <rostedt@goodmis.org> | 2014-09-12 20:26:51 +0200 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2014-09-13 02:48:49 +0200 |
commit | 3ddee63a099ebbdc8f84697fe46730b58240c09d (patch) | |
tree | 44c4e15c4cc965a5f78ea1f18c0829517bd44651 /kernel/trace/trace_output.h | |
parent | ftrace: Add sanity check when unregistering last ftrace_ops (diff) | |
download | linux-3ddee63a099ebbdc8f84697fe46730b58240c09d.tar.xz linux-3ddee63a099ebbdc8f84697fe46730b58240c09d.zip |
ftrace: Only disable ftrace_enabled to test buffer in selftest
The ftrace_enabled variable is set to zero in the self tests to keep
delayed functions from being traced and messing with the checks. This
only needs to be done when the checks are being performed, otherwise,
if ftrace_enabled is off when calls back to the utility that is being
tested, it can cause errors to happen and the tests can fail with
false positives.
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'kernel/trace/trace_output.h')
0 files changed, 0 insertions, 0 deletions