diff options
Diffstat (limited to 'include/trace/ftrace.h')
-rw-r--r-- | include/trace/ftrace.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/trace/ftrace.h b/include/trace/ftrace.h index 7fb16d90e7b1..7167b9b97da2 100644 --- a/include/trace/ftrace.h +++ b/include/trace/ftrace.h | |||
@@ -685,7 +685,8 @@ static void ftrace_profile_##call(proto) \ | |||
685 | pc = preempt_count(); \ | 685 | pc = preempt_count(); \ |
686 | \ | 686 | \ |
687 | __data_size = ftrace_get_offsets_##call(&__data_offsets, args); \ | 687 | __data_size = ftrace_get_offsets_##call(&__data_offsets, args); \ |
688 | __entry_size = ALIGN(__data_size + sizeof(*entry), sizeof(u64));\ | 688 | __entry_size = ALIGN(__data_size + sizeof(*entry) + sizeof(u32),\ |
689 | sizeof(u64)); \ | ||
689 | \ | 690 | \ |
690 | do { \ | 691 | do { \ |
691 | char raw_data[__entry_size]; \ | 692 | char raw_data[__entry_size]; \ |