Skip to contentSkip to conversation

tracepoints: Clean up the description of functions

PATCH New Lee, Chun-Yi 1 participant 1 message Jun 16, 2017 Tracing

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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 <[email protected]>
Cc Ingo Molnar <[email protected]>
---
 kernel/tracepoint.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
kernel/tracepoint.c +1 -2
index 685c50a..227629e 100644
@@ -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
Signature · 1 line
2.10.2