aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/trace/trace_events.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/trace/trace_events.c')
-rw-r--r--kernel/trace/trace_events.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/kernel/trace/trace_events.c b/kernel/trace/trace_events.c
index 1cd1f37373dd..bbbea7479371 100644
--- a/kernel/trace/trace_events.c
+++ b/kernel/trace/trace_events.c
@@ -26,7 +26,7 @@ static DEFINE_MUTEX(event_mutex);
26LIST_HEAD(ftrace_events); 26LIST_HEAD(ftrace_events);
27 27
28int trace_define_field(struct ftrace_event_call *call, char *type, 28int trace_define_field(struct ftrace_event_call *call, char *type,
29 char *name, int offset, int size) 29 char *name, int offset, int size, int is_signed)
30{ 30{
31 struct ftrace_event_field *field; 31 struct ftrace_event_field *field;
32 32
@@ -44,6 +44,7 @@ int trace_define_field(struct ftrace_event_call *call, char *type,
44 44
45 field->offset = offset; 45 field->offset = offset;
46 field->size = size; 46 field->size = size;
47 field->is_signed = is_signed;
47 list_add(&field->link, &call->fields); 48 list_add(&field->link, &call->fields);
48 49
49 return 0; 50 return 0;