All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] tracing: Fix two compiling warnings
@ 2021-01-12 11:12 Bean Huo
  0 siblings, 0 replies; only message in thread
From: Bean Huo @ 2021-01-12 11:12 UTC (permalink / raw)
  To: rostedt, mingo, beanhuo; +Cc: linux-kernel

From: Bean Huo <beanhuo@micron.com>

Add description for two function parameters, to fix below two warnings:

kernel/trace/trace.c:464: warning: Function parameter or member 'this_tr' not described in 'trace_array_put'
kernel/trace/trace.c:543: warning: Function parameter or member 'filtered_no_pids' not described in 'trace_ignore_this_task'

Signed-off-by: Bean Huo <beanhuo@micron.com>
---
 kernel/trace/trace.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/kernel/trace/trace.c b/kernel/trace/trace.c
index b8a2d786b503..8edcd91ed172 100644
--- a/kernel/trace/trace.c
+++ b/kernel/trace/trace.c
@@ -454,6 +454,7 @@ static void __trace_array_put(struct trace_array *this_tr)
 
 /**
  * trace_array_put - Decrement the reference counter for this trace array.
+ * @this_tr : pointer to the trace array
  *
  * NOTE: Use this when we no longer need the trace array returned by
  * trace_array_get_by_name(). This ensures the trace array can be later
@@ -530,6 +531,7 @@ trace_find_filtered_pid(struct trace_pid_list *filtered_pids, pid_t search_pid)
 /**
  * trace_ignore_this_task - should a task be ignored for tracing
  * @filtered_pids: The list of pids to check
+ * @filtered_no_pids: The list of pids that not be traced by the function tracer
  * @task: The task that should be ignored if not filtered
  *
  * Checks if @task should be traced or not from @filtered_pids.
-- 
2.17.1


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2021-01-12 11:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-12 11:12 [PATCH] tracing: Fix two compiling warnings Bean Huo

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.