Re: [PATCH] tracing: Use correct function name in trace_filter_add_remove_task() comment
From: Steven Rostedt
Date: Thu May 23 2019 - 16:05:02 EST
On Thu, 23 May 2019 12:26:28 -0700
Matthias Kaehlcke <mka@xxxxxxxxxxxx> wrote:
> The comment of trace_filter_add_remove_task() refers to the function as
> 'trace_pid_filter_add_remove_task', use the correct name.
>
> Signed-off-by: Matthias Kaehlcke <mka@xxxxxxxxxxxx>
Thanks, I added it to my queue.
-- Steve
> ---
> kernel/trace/trace.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/kernel/trace/trace.c b/kernel/trace/trace.c
> index 2c92b3d9ea30..d1ab31abc46f 100644
> --- a/kernel/trace/trace.c
> +++ b/kernel/trace/trace.c
> @@ -366,7 +366,7 @@ trace_ignore_this_task(struct trace_pid_list *filtered_pids, struct task_struct
> }
>
> /**
> - * trace_pid_filter_add_remove_task - Add or remove a task from a pid_list
> + * trace_filter_add_remove_task - Add or remove a task from a pid_list
> * @pid_list: The list to modify
> * @self: The current task for fork or NULL for exit
> * @task: The task to add or remove