mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-11 12:28:41 +08:00
ftrace: Remove unused extern declarations
commit6a9c981b1e
("ftrace: Remove unused function ftrace_arch_read_dyn_info()") left ftrace_arch_read_dyn_info() extern declaration. And commit1d74f2a0f6
("ftrace: remove ftrace_ip_converted()") leave ftrace_ip_converted() declaration. Link: https://lore.kernel.org/linux-trace-kernel/20230725134808.9716-1-yuehaibing@huawei.com Cc: <mhiramat@kernel.org> Cc: <mark.rutland@arm.com> Signed-off-by: YueHaibing <yuehaibing@huawei.com> Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
This commit is contained in:
parent
6c95d71bad
commit
800959e697
@ -684,7 +684,6 @@ void __init
|
|||||||
ftrace_set_early_filter(struct ftrace_ops *ops, char *buf, int enable);
|
ftrace_set_early_filter(struct ftrace_ops *ops, char *buf, int enable);
|
||||||
|
|
||||||
/* defined in arch */
|
/* defined in arch */
|
||||||
extern int ftrace_ip_converted(unsigned long ip);
|
|
||||||
extern int ftrace_dyn_arch_init(void);
|
extern int ftrace_dyn_arch_init(void);
|
||||||
extern void ftrace_replace_code(int enable);
|
extern void ftrace_replace_code(int enable);
|
||||||
extern int ftrace_update_ftrace_func(ftrace_func_t func);
|
extern int ftrace_update_ftrace_func(ftrace_func_t func);
|
||||||
@ -859,9 +858,6 @@ static inline int ftrace_modify_call(struct dyn_ftrace *rec, unsigned long old_a
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* May be defined in arch */
|
|
||||||
extern int ftrace_arch_read_dyn_info(char *buf, int size);
|
|
||||||
|
|
||||||
extern int skip_trace(unsigned long ip);
|
extern int skip_trace(unsigned long ip);
|
||||||
extern void ftrace_module_init(struct module *mod);
|
extern void ftrace_module_init(struct module *mod);
|
||||||
extern void ftrace_module_enable(struct module *mod);
|
extern void ftrace_module_enable(struct module *mod);
|
||||||
|
Loading…
Reference in New Issue
Block a user