diff options
author | Steven Rostedt (Red Hat) <rostedt@goodmis.org> | 2013-11-06 12:19:37 -0500 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2013-11-06 15:26:55 -0500 |
commit | 042b10d83d05174e50ee861ee3aca55fd6204324 (patch) | |
tree | 7ab84aa7f1598def2008cfac2b045f52d728c0d1 /include | |
parent | d6d3523caab75196560c85aae80cb8f4a8e380ea (diff) |
tracing: Remove unused function ftrace_off_permanent()
In the past, ftrace_off_permanent() was called if something
strange was detected. But the ftrace_bug() now handles all the
anomolies that can happen with ftrace (function tracing), and there
are no uses of ftrace_off_permanent(). Get rid of it.
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/kernel.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/kernel.h b/include/linux/kernel.h index 672ddc4de4af..d4e98d13eff4 100644 --- a/include/linux/kernel.h +++ b/include/linux/kernel.h | |||
@@ -501,7 +501,6 @@ void tracing_snapshot_alloc(void); | |||
501 | 501 | ||
502 | extern void tracing_start(void); | 502 | extern void tracing_start(void); |
503 | extern void tracing_stop(void); | 503 | extern void tracing_stop(void); |
504 | extern void ftrace_off_permanent(void); | ||
505 | 504 | ||
506 | static inline __printf(1, 2) | 505 | static inline __printf(1, 2) |
507 | void ____trace_printk_check_format(const char *fmt, ...) | 506 | void ____trace_printk_check_format(const char *fmt, ...) |
@@ -639,7 +638,6 @@ extern void ftrace_dump(enum ftrace_dump_mode oops_dump_mode); | |||
639 | #else | 638 | #else |
640 | static inline void tracing_start(void) { } | 639 | static inline void tracing_start(void) { } |
641 | static inline void tracing_stop(void) { } | 640 | static inline void tracing_stop(void) { } |
642 | static inline void ftrace_off_permanent(void) { } | ||
643 | static inline void trace_dump_stack(int skip) { } | 641 | static inline void trace_dump_stack(int skip) { } |
644 | 642 | ||
645 | static inline void tracing_on(void) { } | 643 | static inline void tracing_on(void) { } |