mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] tracepoints: Clean up the description of functions
@ 2017-06-16  8:26 Lee, Chun-Yi
  0 siblings, 0 replies; only message in thread
From: Lee, Chun-Yi @ 2017-06-16  8:26 UTC (permalink / raw)
  To: Steven Rostedt, Ingo Molnar; +Cc: linux-kernel, Lee, Chun-Yi

The description of tracepoint_probe_register duplicates
with tracepoint_probe_register_prio. This patch cleans up
the description.

Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Ingo Molnar <mingo@redhat.com>
Signed-off-by: "Lee, Chun-Yi" <jlee@suse.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

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

only message in thread, other threads:[~2017-06-16  8:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-06-16  8:26 [PATCH] tracepoints: Clean up the description of functions Lee, Chun-Yi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome