diff options
author | Qiujun Huang <hqjagain@gmail.com> | 2021-03-25 16:19:10 +0000 |
---|---|---|
committer | Steven Rostedt (VMware) <rostedt@goodmis.org> | 2021-03-25 16:04:35 -0400 |
commit | 70193038a6ec9bbf10990a126432b0cbf56aa339 (patch) | |
tree | 817dab17e37598781d24cef0330d81998a226776 /kernel/trace | |
parent | 30c3d39f7f78f3b232f6a6f6357a545cbe23cc16 (diff) | |
download | lwn-70193038a6ec9bbf10990a126432b0cbf56aa339.tar.gz lwn-70193038a6ec9bbf10990a126432b0cbf56aa339.zip |
tracing: Update create_system_filter() kernel-doc comment
commit f306cc82a93d ("tracing: Update event filters for multibuffer")
added the parameter @tr for create_system_filter().
commit bb9ef1cb7d86 ("tracing: Change apply_subsystem_event_filter()
paths to check file->system == dir") changed the parameter from @system to @dir.
Link: https://lkml.kernel.org/r/20210325161911.123452-1-hqjagain@gmail.com
Signed-off-by: Qiujun Huang <hqjagain@gmail.com>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'kernel/trace')
-rw-r--r-- | kernel/trace/trace_events_filter.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/kernel/trace/trace_events_filter.c b/kernel/trace/trace_events_filter.c index c2dd697cc9c0..c9124038b140 100644 --- a/kernel/trace/trace_events_filter.c +++ b/kernel/trace/trace_events_filter.c @@ -1693,6 +1693,7 @@ static void create_filter_finish(struct filter_parse_error *pe) /** * create_filter - create a filter for a trace_event_call + * @tr: the trace array associated with these events * @call: trace_event_call to create a filter for * @filter_str: filter string * @set_str: remember @filter_str and enable detailed error in filter @@ -1741,8 +1742,8 @@ int create_event_filter(struct trace_array *tr, } /** - * create_system_filter - create a filter for an event_subsystem - * @system: event_subsystem to create a filter for + * create_system_filter - create a filter for an event subsystem + * @dir: the descriptor for the subsystem directory * @filter_str: filter string * @filterp: out param for created filter (always updated on return) * |