summaryrefslogtreecommitdiff
path: root/include/linux/ftrace.h
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/ftrace.h
parent3499e461147636bf55c41128d83b679ac6ab2d86 (diff)
downloadlwn-45a4a2372b364107cabea79f255b333236626416.tar.gz
lwn-45a4a2372b364107cabea79f255b333236626416.zip
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/ftrace.h')
-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);
enum {
FTRACE_FL_FREE = (1 << 0),
- FTRACE_FL_FAILED = (1 << 1),
- FTRACE_FL_FILTER = (1 << 2),
- FTRACE_FL_ENABLED = (1 << 3),
- FTRACE_FL_NOTRACE = (1 << 4),
- FTRACE_FL_CONVERTED = (1 << 5),
+ FTRACE_FL_FILTER = (1 << 1),
+ FTRACE_FL_ENABLED = (1 << 2),
+ FTRACE_FL_NOTRACE = (1 << 3),
+ FTRACE_FL_CONVERTED = (1 << 4),
};
struct dyn_ftrace {