diff options
Diffstat (limited to 'include/trace/ftrace.h')
-rw-r--r-- | include/trace/ftrace.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/include/trace/ftrace.h b/include/trace/ftrace.h index 4e81c9b37515..127400255e4c 100644 --- a/include/trace/ftrace.h +++ b/include/trace/ftrace.h | |||
@@ -299,11 +299,9 @@ ftrace_define_fields_##call(struct ftrace_event_call *event_call) \ | |||
299 | struct ftrace_raw_##call field; \ | 299 | struct ftrace_raw_##call field; \ |
300 | int ret; \ | 300 | int ret; \ |
301 | \ | 301 | \ |
302 | __common_field(int, type, 1); \ | 302 | ret = trace_define_common_fields(event_call); \ |
303 | __common_field(unsigned char, flags, 0); \ | 303 | if (ret) \ |
304 | __common_field(unsigned char, preempt_count, 0); \ | 304 | return ret; \ |
305 | __common_field(int, pid, 1); \ | ||
306 | __common_field(int, tgid, 1); \ | ||
307 | \ | 305 | \ |
308 | tstruct; \ | 306 | tstruct; \ |
309 | \ | 307 | \ |