diff options
author | Anton Vorontsov <anton.vorontsov@linaro.org> | 2012-07-18 20:56:01 +0200 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2012-11-19 21:07:13 +0100 |
commit | 717a9ef7f355480686cdbac3f32d6075437a923e (patch) | |
tree | 8fbf18ec40837c65bb4dc193e5b7c07abdf62abd /net/ipv4 | |
parent | tracing: Add a resize function to make one buffer equivalent to another buffer (diff) | |
download | linux-717a9ef7f355480686cdbac3f32d6075437a923e.tar.xz linux-717a9ef7f355480686cdbac3f32d6075437a923e.zip |
tracing: Remove unneeded checks from the stack tracer
It seems that 'ftrace_enabled' flag should not be used inside the tracer
functions. The ftrace core is using this flag for internal purposes, and
the flag wasn't meant to be used in tracers' runtime checks.
stack tracer is the only tracer that abusing the flag. So stop it from
serving as a bad example.
Also, there is a local 'stack_trace_disabled' flag in the stack tracer,
which is never updated; so it can be removed as well.
Link: http://lkml.kernel.org/r/1342637761-9655-1-git-send-email-anton.vorontsov@linaro.org
Signed-off-by: Anton Vorontsov <anton.vorontsov@linaro.org>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'net/ipv4')
0 files changed, 0 insertions, 0 deletions