aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorSteven Rostedt <srostedt@redhat.com>2011-04-21 23:16:46 -0400
committerSteven Rostedt <rostedt@goodmis.org>2011-04-29 22:53:01 -0400
commit45a4a2372b364107cabea79f255b333236626416 (patch)
treedfe3e1c3b55451fedc8896aaa8359677d583a0e5 /include/linux
parent3499e461147636bf55c41128d83b679ac6ab2d86 (diff)
ftrace: Remove FTRACE_FL_FAILED flag
Since we disable all function tracer processing if we detect that a modification of a instruction had failed, we do not need to track that the record has failed. No more ftrace processing is allowed, and the FTRACE_FL_FAILED flag is pointless. Removing this flag simplifies some of the code, but some ftrace_disabled checks needed to be added or move around a little. Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/ftrace.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/include/linux/ftrace.h b/include/linux/ftrace.h
index ca29e03c1fac..2a195ffd4269 100644
--- a/include/linux/ftrace.h
+++ b/include/linux/ftrace.h
@@ -147,11 +147,10 @@ extern int ftrace_text_reserved(void *start, void *end);
147 147
148enum { 148enum {
149 FTRACE_FL_FREE = (1 << 0), 149 FTRACE_FL_FREE = (1 << 0),
150 FTRACE_FL_FAILED = (1 << 1), 150 FTRACE_FL_FILTER = (1 << 1),
151 FTRACE_FL_FILTER = (1 << 2), 151 FTRACE_FL_ENABLED = (1 << 2),
152 FTRACE_FL_ENABLED = (1 << 3), 152 FTRACE_FL_NOTRACE = (1 << 3),
153 FTRACE_FL_NOTRACE = (1 << 4), 153 FTRACE_FL_CONVERTED = (1 << 4),
154 FTRACE_FL_CONVERTED = (1 << 5),
155}; 154};
156 155
157struct dyn_ftrace { 156struct dyn_ftrace {