mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-03-28 09:55:18 +00:00
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>
This commit is contained in:
parent
ee666a1855
commit
f9f344479d
1 changed files with 2 additions and 9 deletions
|
@ -349,15 +349,8 @@ struct trace_event_call {
|
||||||
struct event_filter *filter;
|
struct event_filter *filter;
|
||||||
void *mod;
|
void *mod;
|
||||||
void *data;
|
void *data;
|
||||||
/*
|
|
||||||
* bit 0: filter_active
|
/* See the TRACE_EVENT_FL_* flags above */
|
||||||
* bit 1: allow trace by non root (cap any)
|
|
||||||
* bit 2: failed to apply filter
|
|
||||||
* bit 3: trace internal event (do not enable)
|
|
||||||
* bit 4: Event was enabled by module
|
|
||||||
* bit 5: use call filter rather than file filter
|
|
||||||
* bit 6: Event is a tracepoint
|
|
||||||
*/
|
|
||||||
int flags; /* static flags of different events */
|
int flags; /* static flags of different events */
|
||||||
|
|
||||||
#ifdef CONFIG_PERF_EVENTS
|
#ifdef CONFIG_PERF_EVENTS
|
||||||
|
|
Loading…
Add table
Reference in a new issue