diff options
Diffstat (limited to 'include/linux/ftrace_event.h')
-rw-r--r-- | include/linux/ftrace_event.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/linux/ftrace_event.h b/include/linux/ftrace_event.h index a3d489531d83..13a54d0bdfa8 100644 --- a/include/linux/ftrace_event.h +++ b/include/linux/ftrace_event.h | |||
@@ -49,7 +49,6 @@ struct trace_entry { | |||
49 | unsigned char flags; | 49 | unsigned char flags; |
50 | unsigned char preempt_count; | 50 | unsigned char preempt_count; |
51 | int pid; | 51 | int pid; |
52 | int padding; | ||
53 | }; | 52 | }; |
54 | 53 | ||
55 | #define FTRACE_MAX_EVENT \ | 54 | #define FTRACE_MAX_EVENT \ |
@@ -84,6 +83,9 @@ struct trace_iterator { | |||
84 | long idx; | 83 | long idx; |
85 | 84 | ||
86 | cpumask_var_t started; | 85 | cpumask_var_t started; |
86 | |||
87 | /* it's true when current open file is snapshot */ | ||
88 | bool snapshot; | ||
87 | }; | 89 | }; |
88 | 90 | ||
89 | enum trace_iter_flags { | 91 | enum trace_iter_flags { |
@@ -272,7 +274,7 @@ extern int trace_define_field(struct ftrace_event_call *call, const char *type, | |||
272 | extern int trace_add_event_call(struct ftrace_event_call *call); | 274 | extern int trace_add_event_call(struct ftrace_event_call *call); |
273 | extern void trace_remove_event_call(struct ftrace_event_call *call); | 275 | extern void trace_remove_event_call(struct ftrace_event_call *call); |
274 | 276 | ||
275 | #define is_signed_type(type) (((type)(-1)) < 0) | 277 | #define is_signed_type(type) (((type)(-1)) < (type)0) |
276 | 278 | ||
277 | int trace_set_clr_event(const char *system, const char *event, int set); | 279 | int trace_set_clr_event(const char *system, const char *event, int set); |
278 | 280 | ||