X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=libust%2Fchannels.c;h=85e5944e325db8010e556b5b94f3fa5cdfc32a52;hb=b27f8e75a6e762ed01b889560431476516786d9f;hp=13178e620c4c6eac9bf7c70e2378049b706ed3ca;hpb=30ffe2794fc413035208cdd2a7a061bc208e210f;p=lttng-ust.git diff --git a/libust/channels.c b/libust/channels.c index 13178e62..85e5944e 100644 --- a/libust/channels.c +++ b/libust/channels.c @@ -25,6 +25,7 @@ #include #include +#include #include "channels.h" #include "usterr_signal_safe.h" @@ -294,12 +295,12 @@ end: */ void ltt_channels_trace_free(struct ust_channel *channels) { - lock_markers(); + lock_ust_marker(); pthread_mutex_lock(<t_channel_mutex); free(channels); urcu_ref_put(&index_urcu_ref, release_trace_channel); pthread_mutex_unlock(<t_channel_mutex); - unlock_markers(); + unlock_ust_marker(); } //ust// EXPORT_SYMBOL_GPL(ltt_channels_trace_free);