diff options
Diffstat (limited to 'kernel/trace/trace_events.c')
-rw-r--r-- | kernel/trace/trace_events.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/kernel/trace/trace_events.c b/kernel/trace/trace_events.c index 29111da1d100..6825d833a257 100644 --- a/kernel/trace/trace_events.c +++ b/kernel/trace/trace_events.c | |||
@@ -1681,7 +1681,8 @@ static __init void event_trace_self_tests(void) | |||
1681 | static DEFINE_PER_CPU(atomic_t, ftrace_test_event_disable); | 1681 | static DEFINE_PER_CPU(atomic_t, ftrace_test_event_disable); |
1682 | 1682 | ||
1683 | static void | 1683 | static void |
1684 | function_test_events_call(unsigned long ip, unsigned long parent_ip) | 1684 | function_test_events_call(unsigned long ip, unsigned long parent_ip, |
1685 | struct ftrace_ops *op, struct pt_regs *pt_regs) | ||
1685 | { | 1686 | { |
1686 | struct ring_buffer_event *event; | 1687 | struct ring_buffer_event *event; |
1687 | struct ring_buffer *buffer; | 1688 | struct ring_buffer *buffer; |
@@ -1720,6 +1721,7 @@ function_test_events_call(unsigned long ip, unsigned long parent_ip) | |||
1720 | static struct ftrace_ops trace_ops __initdata = | 1721 | static struct ftrace_ops trace_ops __initdata = |
1721 | { | 1722 | { |
1722 | .func = function_test_events_call, | 1723 | .func = function_test_events_call, |
1724 | .flags = FTRACE_OPS_FL_RECURSION_SAFE, | ||
1723 | }; | 1725 | }; |
1724 | 1726 | ||
1725 | static __init void event_trace_self_test_with_function(void) | 1727 | static __init void event_trace_self_test_with_function(void) |