diff options
-rw-r--r-- | include/linux/ftrace_event.h | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/include/linux/ftrace_event.h b/include/linux/ftrace_event.h index d84c4a575514..4cb6cd8338a4 100644 --- a/include/linux/ftrace_event.h +++ b/include/linux/ftrace_event.h | |||
@@ -230,6 +230,13 @@ struct ftrace_event_call { | |||
230 | struct list_head *files; | 230 | struct list_head *files; |
231 | void *mod; | 231 | void *mod; |
232 | void *data; | 232 | void *data; |
233 | /* | ||
234 | * bit 0: filter_active | ||
235 | * bit 1: allow trace by non root (cap any) | ||
236 | * bit 2: failed to apply filter | ||
237 | * bit 3: ftrace internal event (do not enable) | ||
238 | * bit 4: Event was enabled by module | ||
239 | */ | ||
233 | int flags; /* static flags of different events */ | 240 | int flags; /* static flags of different events */ |
234 | 241 | ||
235 | #ifdef CONFIG_PERF_EVENTS | 242 | #ifdef CONFIG_PERF_EVENTS |
@@ -248,7 +255,7 @@ enum { | |||
248 | 255 | ||
249 | /* | 256 | /* |
250 | * Ftrace event file flags: | 257 | * Ftrace event file flags: |
251 | * ENABELD - The event is enabled | 258 | * ENABLED - The event is enabled |
252 | * RECORDED_CMD - The comms should be recorded at sched_switch | 259 | * RECORDED_CMD - The comms should be recorded at sched_switch |
253 | */ | 260 | */ |
254 | enum { | 261 | enum { |
@@ -265,12 +272,8 @@ struct ftrace_event_file { | |||
265 | 272 | ||
266 | /* | 273 | /* |
267 | * 32 bit flags: | 274 | * 32 bit flags: |
268 | * bit 1: enabled | 275 | * bit 0: enabled |
269 | * bit 2: filter_active | 276 | * bit 1: enabled cmd record |
270 | * bit 3: enabled cmd record | ||
271 | * bit 4: allow trace by non root (cap any) | ||
272 | * bit 5: failed to apply filter | ||
273 | * bit 6: ftrace internal event (do not enable) | ||
274 | * | 277 | * |
275 | * Changes to flags must hold the event_mutex. | 278 | * Changes to flags must hold the event_mutex. |
276 | * | 279 | * |