[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20170616082643.7311-1-jlee@suse.com>
Date: Fri, 16 Jun 2017 16:26:43 +0800
From: "Lee, Chun-Yi" <joeyli.kernel@...il.com>
To: Steven Rostedt <rostedt@...dmis.org>,
Ingo Molnar <mingo@...hat.com>
Cc: linux-kernel@...r.kernel.org, "Lee, Chun-Yi" <jlee@...e.com>
Subject: [PATCH] tracepoints: Clean up the description of functions
The description of tracepoint_probe_register duplicates
with tracepoint_probe_register_prio. This patch cleans up
the description.
Cc: Steven Rostedt <rostedt@...dmis.org>
Cc: Ingo Molnar <mingo@...hat.com>
Signed-off-by: "Lee, Chun-Yi" <jlee@...e.com>
---
kernel/tracepoint.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/kernel/tracepoint.c b/kernel/tracepoint.c
index 685c50a..227629e 100644
--- a/kernel/tracepoint.c
+++ b/kernel/tracepoint.c
@@ -258,7 +258,7 @@ static int tracepoint_remove_func(struct tracepoint *tp,
}
/**
- * tracepoint_probe_register - Connect a probe to a tracepoint
+ * tracepoint_probe_register_prio - Connect a probe to a tracepoint with priority
* @tp: tracepoint
* @probe: probe handler
* @data: tracepoint data
@@ -291,7 +291,6 @@ EXPORT_SYMBOL_GPL(tracepoint_probe_register_prio);
* @tp: tracepoint
* @probe: probe handler
* @data: tracepoint data
- * @prio: priority of this function over other registered functions
*
* Returns 0 if ok, error value on error.
* Note: if @tp is within a module, the caller is responsible for
--
2.10.2
Powered by blists - more mailing lists