]> git.baikalelectronics.ru Git - kernel.git/commit
markers: probe example, fix teardown
authorMathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Mon, 29 Sep 2008 15:09:15 +0000 (11:09 -0400)
committerIngo Molnar <mingo@elte.hu>
Tue, 14 Oct 2008 08:38:30 +0000 (10:38 +0200)
commit91e8cbf0007e89a1db111dfec20138868290c9e8
tree41bd1b7d66cc454aaab3f699698c75ca0c88c92f
parent12fa53e3e002c3eac619743c3ffec54f7dc1b472
markers: probe example, fix teardown

Need a marker_synchronize_unregister() 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>
samples/markers/probe-example.c