tracepoints: tracepoint_synchronize_unregister()
authorMathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Mon, 6 Oct 2008 14:33:00 +0000 (10:33 -0400)
committerIngo Molnar <mingo@elte.hu>
Tue, 14 Oct 2008 08:39:30 +0000 (10:39 +0200)
commitf2461fc82a083dd60062e05e704c5fcc1c658ba1
tree1b5e13fd4895351d26e9bd4a404c40c8d8381a09
parent8b27386a9ce9c7f0f8702cff7565a46802ad57d1
tracepoints: tracepoint_synchronize_unregister()

Create tracepoint_synchronize_unregister() which must be called before the end
of exit() to make sure every probe callers have exited the non preemptible
section and thus are not executing the probe code anymore.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
include/linux/tracepoint.h