aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kernel/trace/trace_kprobe.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/kernel/trace/trace_kprobe.c b/kernel/trace/trace_kprobe.c
index 7ecab06547a5..83f1e6ef7063 100644
--- a/kernel/trace/trace_kprobe.c
+++ b/kernel/trace/trace_kprobe.c
@@ -1182,10 +1182,11 @@ static int __probe_event_show_format(struct trace_seq *s,
1182#undef SHOW_FIELD 1182#undef SHOW_FIELD
1183#define SHOW_FIELD(type, item, name) \ 1183#define SHOW_FIELD(type, item, name) \
1184 do { \ 1184 do { \
1185 ret = trace_seq_printf(s, "\tfield: " #type " %s;\t" \ 1185 ret = trace_seq_printf(s, "\tfield:" #type " %s;\t" \
1186 "offset:%u;\tsize:%u;\n", name, \ 1186 "offset:%u;\tsize:%u;\tsigned:%d;\n", name,\
1187 (unsigned int)offsetof(typeof(field), item),\ 1187 (unsigned int)offsetof(typeof(field), item),\
1188 (unsigned int)sizeof(type)); \ 1188 (unsigned int)sizeof(type), \
1189 is_signed_type(type)); \
1189 if (!ret) \ 1190 if (!ret) \
1190 return 0; \ 1191 return 0; \
1191 } while (0) 1192 } while (0)