Skip to content

Commit

Permalink
tracepoints, docs: marker_synchronize_unregister->tracepoint_synchron…
Browse files Browse the repository at this point in the history
…ize_unregister

Impact: documentation update.

Signed-off-by: Zhaolei <zhaolei@cn.fujitsu.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
  • Loading branch information
Mathieu Desnoyers authored and Ingo Molnar committed Nov 16, 2008
1 parent 8fd88d1 commit 0dcf8fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Documentation/tracepoints.txt
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ Connecting a function (probe) to a tracepoint is done by providing a probe
(function to call) for the specific tracepoint through
register_trace_subsys_eventname(). Removing a probe is done through
unregister_trace_subsys_eventname(); it will remove the probe.
marker_synchronize_unregister() must be called before the end of the module exit
tracepoint_synchronize_unregister() must be called before the end of the module exit
function to make sure there is no caller left using the probe. This, and the
fact that preemption is disabled around the probe call, make sure that probe
removal and module unload are safe. See the "Probe example" section below for a
Expand Down

0 comments on commit 0dcf8fe

Please sign in to comment.