aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/trace/trace_events.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/trace/trace_events.c')
-rw-r--r--kernel/trace/trace_events.c4
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)
1681static DEFINE_PER_CPU(atomic_t, ftrace_test_event_disable); 1681static DEFINE_PER_CPU(atomic_t, ftrace_test_event_disable);
1682 1682
1683static void 1683static void
1684function_test_events_call(unsigned long ip, unsigned long parent_ip) 1684function_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)
1720static struct ftrace_ops trace_ops __initdata = 1721static 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
1725static __init void event_trace_self_test_with_function(void) 1727static __init void event_trace_self_test_with_function(void)