提交 d88471cb 编写于 作者: S Sasha Levin 提交者: Steven Rostedt
上级 3bbc8db3
...@@ -299,7 +299,7 @@ extern void ...@@ -299,7 +299,7 @@ extern void
unregister_ftrace_function_probe_func(char *glob, struct ftrace_probe_ops *ops); unregister_ftrace_function_probe_func(char *glob, struct ftrace_probe_ops *ops);
extern void unregister_ftrace_function_probe_all(char *glob); extern void unregister_ftrace_function_probe_all(char *glob);
extern int ftrace_text_reserved(void *start, void *end); extern int ftrace_text_reserved(const void *start, const void *end);
extern int ftrace_nr_registered_ops(void); extern int ftrace_nr_registered_ops(void);
...@@ -552,7 +552,7 @@ static inline __init int unregister_ftrace_command(char *cmd_name) ...@@ -552,7 +552,7 @@ static inline __init int unregister_ftrace_command(char *cmd_name)
{ {
return -EINVAL; return -EINVAL;
} }
static inline int ftrace_text_reserved(void *start, void *end) static inline int ftrace_text_reserved(const void *start, const void *end)
{ {
return 0; return 0;
} }
......
...@@ -1555,7 +1555,7 @@ unsigned long ftrace_location(unsigned long ip) ...@@ -1555,7 +1555,7 @@ unsigned long ftrace_location(unsigned long ip)
* the function tracer. It checks the ftrace internal tables to * the function tracer. It checks the ftrace internal tables to
* determine if the address belongs or not. * determine if the address belongs or not.
*/ */
int ftrace_text_reserved(void *start, void *end) int ftrace_text_reserved(const void *start, const void *end)
{ {
unsigned long ret; unsigned long ret;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册