diff options
Diffstat (limited to 'kernel/trace/trace_export.c')
-rw-r--r-- | kernel/trace/trace_export.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/kernel/trace/trace_export.c b/kernel/trace/trace_export.c index f74de861cde9..a3dbee6d04cd 100644 --- a/kernel/trace/trace_export.c +++ b/kernel/trace/trace_export.c | |||
@@ -184,4 +184,9 @@ __attribute__((section("_ftrace_events"))) *__event_##call = &event_##call; | |||
184 | FTRACE_ENTRY_REG(call, struct_name, etype, \ | 184 | FTRACE_ENTRY_REG(call, struct_name, etype, \ |
185 | PARAMS(tstruct), PARAMS(print), NULL) | 185 | PARAMS(tstruct), PARAMS(print), NULL) |
186 | 186 | ||
187 | int ftrace_event_is_function(struct ftrace_event_call *call) | ||
188 | { | ||
189 | return call == &event_function; | ||
190 | } | ||
191 | |||
187 | #include "trace_entries.h" | 192 | #include "trace_entries.h" |