]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
tracepoints: Fix the descriptions of tracepoint_probe_register{_prio}
authorLee, Chun-Yi <joeyli.kernel@gmail.com>
Fri, 16 Jun 2017 08:26:43 +0000 (16:26 +0800)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Mon, 28 May 2018 16:49:51 +0000 (12:49 -0400)
The description of tracepoint_probe_register duplicates
with tracepoint_probe_register_prio. This patch cleans up
the descriptions.

Link: http://lkml.kernel.org/r/20170616082643.7311-1-jlee@suse.com
Signed-off-by: "Lee, Chun-Yi" <jlee@suse.com>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
kernel/tracepoint.c

index 1e37da2e0c25d13ec7e6bd79be165a38f58b4fb3..6dc6356c3327c8a1d4958d686f84d5fb804f02d2 100644 (file)
@@ -257,7 +257,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
@@ -290,7 +290,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