]> sourceware.org Git - systemtap.git/commit
Ensure tracepoints are synchronized after unreg
authorJosh Stone <jistone@redhat.com>
Sat, 7 Mar 2009 03:30:39 +0000 (19:30 -0800)
committerJosh Stone <jistone@redhat.com>
Sat, 7 Mar 2009 03:30:39 +0000 (19:30 -0800)
commitddc5ee5a548c8c945b63d9e3076efb12272d2617
tree8e000829e0d4eade878aa13c2362272e332d2179
parentd99d881952436f5b01364b8f31b1bc90c22a1444
Ensure tracepoints are synchronized after unreg

The tracepoint API provides tracepoint_synchronize_unregister() as a way
to guarantee that all tracepoint handlers are inactive.  This is
necessary after unregistering to allow the module to safely unload.

* tapsets.cxx (tracepoint_derived_probe_group::emit_module_init):
Call synchronize after unregistering tracepoints.
(tracepoint_derived_probe_group::emit_module_exit): Ditto.
tapsets.cxx
This page took 0.028336 seconds and 5 git commands to generate.