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.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/include/linux/ftrace_event.h b/include/linux/ftrace_event.h
index df5b085c4150..0440bea8f6bb 100644
--- a/include/linux/ftrace_event.h
+++ b/include/linux/ftrace_event.h
@@ -140,9 +140,16 @@ 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};
148
143extern int trace_define_field(struct ftrace_event_call *call, 149extern int trace_define_field(struct ftrace_event_call *call,
144 const char *type, const char *name, 150 const char *type, const char *name,
145 int offset, int size, int is_signed); 151 int offset, int size, int is_signed,
152 int filter_type);
146extern int trace_define_common_fields(struct ftrace_event_call *call); 153extern int trace_define_common_fields(struct ftrace_event_call *call);
147 154
148#define is_signed_type(type) (((type)(-1)) < 0) 155#define is_signed_type(type) (((type)(-1)) < 0)