|
@@ -562,6 +562,9 @@ int __trace_bprintk(unsigned long ip, const char *fmt, ...);
|
|
|
extern __printf(2, 3)
|
|
|
int __trace_printk(unsigned long ip, const char *fmt, ...);
|
|
|
|
|
|
+extern int __trace_bputs(unsigned long ip, const char *str);
|
|
|
+extern int __trace_puts(unsigned long ip, const char *str, int size);
|
|
|
+
|
|
|
/**
|
|
|
* trace_puts - write a string into the ftrace buffer
|
|
|
* @str: the string to record
|
|
@@ -587,8 +590,6 @@ int __trace_printk(unsigned long ip, const char *fmt, ...);
|
|
|
* (1 when __trace_bputs is used, strlen(str) when __trace_puts is used)
|
|
|
*/
|
|
|
|
|
|
-extern int __trace_bputs(unsigned long ip, const char *str);
|
|
|
-extern int __trace_puts(unsigned long ip, const char *str, int size);
|
|
|
#define trace_puts(str) ({ \
|
|
|
static const char *trace_printk_fmt \
|
|
|
__attribute__((section("__trace_printk_fmt"))) = \
|