diff options
| author | Zhang Zekun <[email protected]> | 2023-08-04 09:36:36 +0800 |
|---|---|---|
| committer | Steven Rostedt (Google) <[email protected]> | 2023-08-22 05:20:34 -0400 |
| commit | c8f05f2f41d7e4950d6767e6ebe9fba3dcaf45ff (patch) | |
| tree | 2cea5a2b77f7f8277d8aa6bbc2cac62f4649d5cd /include/linux | |
| parent | efde97a175e89fceb36cd2c352700661183992bc (diff) | |
ftrace: Remove empty declaration ftrace_enable_daemon() and ftrace_disable_daemon()
The definition of ftrace_enable_daemon() and ftrace_disable_daemon() has
been removed since commit cb7be3b2fc2c ("ftrace: remove daemon"), remain
the declarations in the header files, so remove it.
Link: https://lore.kernel.org/linux-trace-kernel/[email protected]
Cc: <[email protected]>
Cc: <[email protected]>
Signed-off-by: Zhang Zekun <[email protected]>
Signed-off-by: Steven Rostedt (Google) <[email protected]>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/ftrace.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/linux/ftrace.h b/include/linux/ftrace.h index aad9cf8876b5..e8921871ef9a 100644 --- a/include/linux/ftrace.h +++ b/include/linux/ftrace.h @@ -862,13 +862,8 @@ extern int skip_trace(unsigned long ip); extern void ftrace_module_init(struct module *mod); extern void ftrace_module_enable(struct module *mod); extern void ftrace_release_mod(struct module *mod); - -extern void ftrace_disable_daemon(void); -extern void ftrace_enable_daemon(void); #else /* CONFIG_DYNAMIC_FTRACE */ static inline int skip_trace(unsigned long ip) { return 0; } -static inline void ftrace_disable_daemon(void) { } -static inline void ftrace_enable_daemon(void) { } static inline void ftrace_module_init(struct module *mod) { } static inline void ftrace_module_enable(struct module *mod) { } static inline void ftrace_release_mod(struct module *mod) { } |