summaryrefslogtreecommitdiff
path: root/kernel/trace
diff options
context:
space:
mode:
authorsunliming <sunliming@kylinos.cn>2022-05-24 09:39:37 +0300
committerSteven Rostedt (Google) <rostedt@goodmis.org>2022-05-27 04:13:01 +0300
commit0a54f556b035e5217e21724d82dd98ce695bd6d6 (patch)
tree4b011a5f76bb144b4c936090bb049f9011cf619d /kernel/trace
parentbb5eb8f3b329789fbf22c85328dcf696a3e97ffb (diff)
downloadlinux-0a54f556b035e5217e21724d82dd98ce695bd6d6.tar.xz
tracing: Fix comments of create_filter()
The name in comments of parameter "filter_string" in function create_filter is annotated as "filter_str", just fix it. Link: https://lkml.kernel.org/r/20220524063937.52873-1-sunliming@kylinos.cn Signed-off-by: sunliming <sunliming@kylinos.cn> Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Diffstat (limited to 'kernel/trace')
-rw-r--r--kernel/trace/trace_events_filter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/trace/trace_events_filter.c b/kernel/trace/trace_events_filter.c
index b458a9afa2c0..4b1057ab9d96 100644
--- a/kernel/trace/trace_events_filter.c
+++ b/kernel/trace/trace_events_filter.c
@@ -1816,7 +1816,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
+ * @filter_string: filter string
* @set_str: remember @filter_str and enable detailed error in filter
* @filterp: out param for created filter (always updated on return)
* Must be a pointer that references a NULL pointer.