Skip to content

Commit f9f3444

Browse files
committed
tracing: Fix comment about the trace_event_call flags
In the declaration of the struct trace_event_call, the flags has the bits defined in the comment above it. But these bits are also defined by the TRACE_EVENT_FL_* enums just above the declaration of the struct. As the comment about the flags in the struct has become stale and incorrect, just replace it with a reference to the TRACE_EVENT_FL_* enum above. Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
1 parent ee666a1 commit f9f3444

1 file changed

Lines changed: 2 additions & 9 deletions

File tree

include/linux/trace_events.h

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -349,15 +349,8 @@ struct trace_event_call {
349349
struct event_filter *filter;
350350
void *mod;
351351
void *data;
352-
/*
353-
* bit 0: filter_active
354-
* bit 1: allow trace by non root (cap any)
355-
* bit 2: failed to apply filter
356-
* bit 3: trace internal event (do not enable)
357-
* bit 4: Event was enabled by module
358-
* bit 5: use call filter rather than file filter
359-
* bit 6: Event is a tracepoint
360-
*/
352+
353+
/* See the TRACE_EVENT_FL_* flags above */
361354
int flags; /* static flags of different events */
362355

363356
#ifdef CONFIG_PERF_EVENTS

0 commit comments

Comments
 (0)