X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=libtracing%2Ftracer.c;h=8810ab2727d4e32ee19f3e5148996dd14ac60c20;hb=bb07823d7dc174f7bd96d30843acfac7424dd0d2;hp=012acea536eeae7ae7dd65c71e41f2cb7e5c6546;hpb=5f54827b88b093974e4bf58f67490036718644c7;p=ust.git diff --git a/libtracing/tracer.c b/libtracing/tracer.c index 012acea..8810ab2 100644 --- a/libtracing/tracer.c +++ b/libtracing/tracer.c @@ -211,7 +211,7 @@ void ltt_transport_register(struct ltt_transport *transport) * registered. We deal with this here so we don't have to call * vmalloc_sync_all() in each module's init. */ - vmalloc_sync_all(); +//ust// vmalloc_sync_all(); ltt_lock_traces(); list_add_tail(&transport->node, <t_transport_list); @@ -223,12 +223,12 @@ void ltt_transport_register(struct ltt_transport *transport) * ltt_transport_unregister - LTT transport unregistration * @transport: transport structure */ -//ust// void ltt_transport_unregister(struct ltt_transport *transport) -//ust// { -//ust// ltt_lock_traces(); -//ust// list_del(&transport->node); -//ust// ltt_unlock_traces(); -//ust// } +void ltt_transport_unregister(struct ltt_transport *transport) +{ + ltt_lock_traces(); + list_del(&transport->node); + ltt_unlock_traces(); +} //ust// EXPORT_SYMBOL_GPL(ltt_transport_unregister); static inline int is_channel_overwrite(enum ltt_channels chan,