diff options
Diffstat (limited to 'samples/ftrace')
-rw-r--r-- | samples/ftrace/ftrace-direct-multi.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/samples/ftrace/ftrace-direct-multi.c b/samples/ftrace/ftrace-direct-multi.c index 2a5b1fb7ac14..b6d7806b400e 100644 --- a/samples/ftrace/ftrace-direct-multi.c +++ b/samples/ftrace/ftrace-direct-multi.c @@ -5,6 +5,8 @@ #include <linux/ftrace.h> #include <linux/sched/stat.h> +extern void my_direct_func(unsigned long ip); + void my_direct_func(unsigned long ip) { trace_printk("ip %lx\n", ip); |