diff options
Diffstat (limited to 'include/linux/kernel.h')
| -rw-r--r-- | include/linux/kernel.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/include/linux/kernel.h b/include/linux/kernel.h index 7e6b97e77fb9..482ad2d84a32 100644 --- a/include/linux/kernel.h +++ b/include/linux/kernel.h | |||
| @@ -561,9 +561,6 @@ int __trace_bprintk(unsigned long ip, const char *fmt, ...); | |||
| 561 | extern __printf(2, 3) | 561 | extern __printf(2, 3) |
| 562 | int __trace_printk(unsigned long ip, const char *fmt, ...); | 562 | int __trace_printk(unsigned long ip, const char *fmt, ...); |
| 563 | 563 | ||
| 564 | extern int __trace_bputs(unsigned long ip, const char *str); | ||
| 565 | extern int __trace_puts(unsigned long ip, const char *str, int size); | ||
| 566 | |||
| 567 | /** | 564 | /** |
| 568 | * trace_puts - write a string into the ftrace buffer | 565 | * trace_puts - write a string into the ftrace buffer |
| 569 | * @str: the string to record | 566 | * @str: the string to record |
| @@ -599,6 +596,8 @@ extern int __trace_puts(unsigned long ip, const char *str, int size); | |||
| 599 | else \ | 596 | else \ |
| 600 | __trace_puts(_THIS_IP_, str, strlen(str)); \ | 597 | __trace_puts(_THIS_IP_, str, strlen(str)); \ |
| 601 | }) | 598 | }) |
| 599 | extern int __trace_bputs(unsigned long ip, const char *str); | ||
| 600 | extern int __trace_puts(unsigned long ip, const char *str, int size); | ||
| 602 | 601 | ||
| 603 | extern void trace_dump_stack(int skip); | 602 | extern void trace_dump_stack(int skip); |
| 604 | 603 | ||
| @@ -630,7 +629,7 @@ extern void ftrace_dump(enum ftrace_dump_mode oops_dump_mode); | |||
| 630 | static inline void tracing_start(void) { } | 629 | static inline void tracing_start(void) { } |
| 631 | static inline void tracing_stop(void) { } | 630 | static inline void tracing_stop(void) { } |
| 632 | static inline void ftrace_off_permanent(void) { } | 631 | static inline void ftrace_off_permanent(void) { } |
| 633 | static inline void trace_dump_stack(void) { } | 632 | static inline void trace_dump_stack(int skip) { } |
| 634 | 633 | ||
| 635 | static inline void tracing_on(void) { } | 634 | static inline void tracing_on(void) { } |
| 636 | static inline void tracing_off(void) { } | 635 | static inline void tracing_off(void) { } |
