diff options
Diffstat (limited to 'include/trace/ftrace.h')
-rw-r--r-- | include/trace/ftrace.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/trace/ftrace.h b/include/trace/ftrace.h index b250b0616571..4e81c9b37515 100644 --- a/include/trace/ftrace.h +++ b/include/trace/ftrace.h | |||
@@ -294,10 +294,9 @@ ftrace_raw_output_##call(struct trace_iterator *iter, int flags) \ | |||
294 | #undef TRACE_EVENT | 294 | #undef TRACE_EVENT |
295 | #define TRACE_EVENT(call, proto, args, tstruct, func, print) \ | 295 | #define TRACE_EVENT(call, proto, args, tstruct, func, print) \ |
296 | int \ | 296 | int \ |
297 | ftrace_define_fields_##call(void) \ | 297 | ftrace_define_fields_##call(struct ftrace_event_call *event_call) \ |
298 | { \ | 298 | { \ |
299 | struct ftrace_raw_##call field; \ | 299 | struct ftrace_raw_##call field; \ |
300 | struct ftrace_event_call *event_call = &event_##call; \ | ||
301 | int ret; \ | 300 | int ret; \ |
302 | \ | 301 | \ |
303 | __common_field(int, type, 1); \ | 302 | __common_field(int, type, 1); \ |