struct list_head *files;
void *mod;
void *data;
+ /*
+ * bit 0: filter_active
+ * bit 1: allow trace by non root (cap any)
+ * bit 2: failed to apply filter
+ * bit 3: ftrace internal event (do not enable)
+ * bit 4: Event was enabled by module
+ */
int flags; /* static flags of different events */
#ifdef CONFIG_PERF_EVENTS
/*
* Ftrace event file flags:
- * ENABELD - The event is enabled
+ * ENABLED - The event is enabled
* RECORDED_CMD - The comms should be recorded at sched_switch
*/
enum {
/*
* 32 bit flags:
- * bit 1: enabled
- * bit 2: filter_active
- * bit 3: enabled cmd record
- * bit 4: allow trace by non root (cap any)
- * bit 5: failed to apply filter
- * bit 6: ftrace internal event (do not enable)
+ * bit 0: enabled
+ * bit 1: enabled cmd record
*
* Changes to flags must hold the event_mutex.
*