aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/ftrace_event.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/ftrace_event.h')
-rw-r--r--include/linux/ftrace_event.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/linux/ftrace_event.h b/include/linux/ftrace_event.h
index 427cbae47f84..df5b085c4150 100644
--- a/include/linux/ftrace_event.h
+++ b/include/linux/ftrace_event.h
@@ -140,8 +140,9 @@ extern int filter_current_check_discard(struct ftrace_event_call *call,
140 void *rec, 140 void *rec,
141 struct ring_buffer_event *event); 141 struct ring_buffer_event *event);
142 142
143extern int trace_define_field(struct ftrace_event_call *call, char *type, 143extern int trace_define_field(struct ftrace_event_call *call,
144 char *name, int offset, int size, int is_signed); 144 const char *type, const char *name,
145 int offset, int size, int is_signed);
145extern int trace_define_common_fields(struct ftrace_event_call *call); 146extern int trace_define_common_fields(struct ftrace_event_call *call);
146 147
147#define is_signed_type(type) (((type)(-1)) < 0) 148#define is_signed_type(type) (((type)(-1)) < 0)