diff options
author | Steven Rostedt (Red Hat) <rostedt@goodmis.org> | 2014-05-07 16:09:49 -0400 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2014-05-14 11:37:30 -0400 |
commit | f1b2f2bd5821c6ab7feed2e133343dd54b212ed9 (patch) | |
tree | 8b967a4f24431d12012bceb72ee5891b0342940b /include/linux/ftrace.h | |
parent | 7c0868e03b7a7c50fa10957d8dddaebb09c72044 (diff) |
ftrace: Remove FTRACE_UPDATE_MODIFY_CALL_REGS flag
As the decision to what needs to be done (converting a call to the
ftrace_caller to ftrace_caller_regs or to convert from ftrace_caller_regs
to ftrace_caller) can easily be determined from the rec->flags of
FTRACE_FL_REGS and FTRACE_FL_REGS_EN, there's no need to have the
ftrace_check_record() return either a UPDATE_MODIFY_CALL_REGS or a
UPDATE_MODIFY_CALL. Just he latter is enough. This added flag causes
more complexity than is required. Remove it.
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'include/linux/ftrace.h')
-rw-r--r-- | include/linux/ftrace.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/ftrace.h b/include/linux/ftrace.h index 2f8cbffecd3d..3e6dfb31f8e6 100644 --- a/include/linux/ftrace.h +++ b/include/linux/ftrace.h | |||
@@ -362,14 +362,12 @@ enum { | |||
362 | * IGNORE - The function is already what we want it to be | 362 | * IGNORE - The function is already what we want it to be |
363 | * MAKE_CALL - Start tracing the function | 363 | * MAKE_CALL - Start tracing the function |
364 | * MODIFY_CALL - Stop saving regs for the function | 364 | * MODIFY_CALL - Stop saving regs for the function |
365 | * MODIFY_CALL_REGS - Start saving regs for the function | ||
366 | * MAKE_NOP - Stop tracing the function | 365 | * MAKE_NOP - Stop tracing the function |
367 | */ | 366 | */ |
368 | enum { | 367 | enum { |
369 | FTRACE_UPDATE_IGNORE, | 368 | FTRACE_UPDATE_IGNORE, |
370 | FTRACE_UPDATE_MAKE_CALL, | 369 | FTRACE_UPDATE_MAKE_CALL, |
371 | FTRACE_UPDATE_MODIFY_CALL, | 370 | FTRACE_UPDATE_MODIFY_CALL, |
372 | FTRACE_UPDATE_MODIFY_CALL_REGS, | ||
373 | FTRACE_UPDATE_MAKE_NOP, | 371 | FTRACE_UPDATE_MAKE_NOP, |
374 | }; | 372 | }; |
375 | 373 | ||