aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/trace/events/initcall.h14
1 files changed, 11 insertions, 3 deletions
diff --git a/include/trace/events/initcall.h b/include/trace/events/initcall.h
index 8d6cf10d27c9..eb903c3f195f 100644
--- a/include/trace/events/initcall.h
+++ b/include/trace/events/initcall.h
@@ -31,7 +31,11 @@ TRACE_EVENT(initcall_start,
31 TP_ARGS(func), 31 TP_ARGS(func),
32 32
33 TP_STRUCT__entry( 33 TP_STRUCT__entry(
34 __field(initcall_t, func) 34 /*
35 * Use field_struct to avoid is_signed_type()
36 * comparison of a function pointer
37 */
38 __field_struct(initcall_t, func)
35 ), 39 ),
36 40
37 TP_fast_assign( 41 TP_fast_assign(
@@ -48,8 +52,12 @@ TRACE_EVENT(initcall_finish,
48 TP_ARGS(func, ret), 52 TP_ARGS(func, ret),
49 53
50 TP_STRUCT__entry( 54 TP_STRUCT__entry(
51 __field(initcall_t, func) 55 /*
52 __field(int, ret) 56 * Use field_struct to avoid is_signed_type()
57 * comparison of a function pointer
58 */
59 __field_struct(initcall_t, func)
60 __field(int, ret)
53 ), 61 ),
54 62
55 TP_fast_assign( 63 TP_fast_assign(