diff options
Diffstat (limited to 'include/linux/ftrace.h')
| -rw-r--r-- | include/linux/ftrace.h | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/include/linux/ftrace.h b/include/linux/ftrace.h index ebb77674be90..a397907e8d72 100644 --- a/include/linux/ftrace.h +++ b/include/linux/ftrace.h | |||
| @@ -234,10 +234,6 @@ extern void ftrace_stub(unsigned long a0, unsigned long a1, | |||
| 234 | */ | 234 | */ |
| 235 | #define register_ftrace_function(ops) ({ 0; }) | 235 | #define register_ftrace_function(ops) ({ 0; }) |
| 236 | #define unregister_ftrace_function(ops) ({ 0; }) | 236 | #define unregister_ftrace_function(ops) ({ 0; }) |
| 237 | static inline int ftrace_nr_registered_ops(void) | ||
| 238 | { | ||
| 239 | return 0; | ||
| 240 | } | ||
| 241 | static inline void ftrace_kill(void) { } | 237 | static inline void ftrace_kill(void) { } |
| 242 | static inline void ftrace_free_init_mem(void) { } | 238 | static inline void ftrace_free_init_mem(void) { } |
| 243 | static inline void ftrace_free_mem(struct module *mod, void *start, void *end) { } | 239 | static inline void ftrace_free_mem(struct module *mod, void *start, void *end) { } |
| @@ -328,8 +324,6 @@ struct seq_file; | |||
| 328 | 324 | ||
| 329 | extern int ftrace_text_reserved(const void *start, const void *end); | 325 | extern int ftrace_text_reserved(const void *start, const void *end); |
| 330 | 326 | ||
| 331 | extern int ftrace_nr_registered_ops(void); | ||
| 332 | |||
| 333 | struct ftrace_ops *ftrace_ops_trampoline(unsigned long addr); | 327 | struct ftrace_ops *ftrace_ops_trampoline(unsigned long addr); |
| 334 | 328 | ||
| 335 | bool is_ftrace_trampoline(unsigned long addr); | 329 | bool is_ftrace_trampoline(unsigned long addr); |
| @@ -707,16 +701,7 @@ static inline unsigned long get_lock_parent_ip(void) | |||
| 707 | return CALLER_ADDR2; | 701 | return CALLER_ADDR2; |
| 708 | } | 702 | } |
| 709 | 703 | ||
| 710 | #ifdef CONFIG_IRQSOFF_TRACER | 704 | #ifdef CONFIG_TRACE_PREEMPT_TOGGLE |
| 711 | extern void time_hardirqs_on(unsigned long a0, unsigned long a1); | ||
| 712 | extern void time_hardirqs_off(unsigned long a0, unsigned long a1); | ||
| 713 | #else | ||
| 714 | static inline void time_hardirqs_on(unsigned long a0, unsigned long a1) { } | ||
| 715 | static inline void time_hardirqs_off(unsigned long a0, unsigned long a1) { } | ||
| 716 | #endif | ||
| 717 | |||
| 718 | #if defined(CONFIG_PREEMPT_TRACER) || \ | ||
| 719 | (defined(CONFIG_DEBUG_PREEMPT) && defined(CONFIG_PREEMPTIRQ_EVENTS)) | ||
| 720 | extern void trace_preempt_on(unsigned long a0, unsigned long a1); | 705 | extern void trace_preempt_on(unsigned long a0, unsigned long a1); |
| 721 | extern void trace_preempt_off(unsigned long a0, unsigned long a1); | 706 | extern void trace_preempt_off(unsigned long a0, unsigned long a1); |
| 722 | #else | 707 | #else |
