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.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/include/linux/ftrace_event.h b/include/linux/ftrace_event.h
index df5b085c415..ace2da9e0a0 100644
--- a/include/linux/ftrace_event.h
+++ b/include/linux/ftrace_event.h
@@ -140,9 +140,17 @@ 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
143enum {
144 FILTER_OTHER = 0,
145 FILTER_STATIC_STRING,
146 FILTER_DYN_STRING,
147 FILTER_PTR_STRING,
148};
149
143extern int trace_define_field(struct ftrace_event_call *call, 150extern int trace_define_field(struct ftrace_event_call *call,
144 const char *type, const char *name, 151 const char *type, const char *name,
145 int offset, int size, int is_signed); 152 int offset, int size, int is_signed,
153 int filter_type);
146extern int trace_define_common_fields(struct ftrace_event_call *call); 154extern int trace_define_common_fields(struct ftrace_event_call *call);
147 155
148#define is_signed_type(type) (((type)(-1)) < 0) 156#define is_signed_type(type) (((type)(-1)) < 0)