From mboxrd@z Thu Jan 1 00:00:00 1970 From: zhaolei@cn.fujitsu.com (Zhaolei) Date: Wed, 15 Oct 2008 17:35:07 +0800 Subject: [ltt-dev] [PATCH] Fixed a typo in Documentation/tracepoints.txt Message-ID: <48F5B94B.2040705@cn.fujitsu.com> marker_synchronize_unregister->tracepoint_synchronize_unregister Signed-off-by: Zhaolei --- Documentation/tracepoints.txt | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/Documentation/tracepoints.txt b/Documentation/tracepoints.txt index 1b5f114..148f580 100644 --- a/Documentation/tracepoints.txt +++ b/Documentation/tracepoints.txt @@ -69,7 +69,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 -- 1.5.5.3