X-Git-Url: http://git.lttng.org/?p=ust.git;a=blobdiff_plain;f=libust%2Fchannels.c;fp=libust%2Fchannels.c;h=402b91581c370e7560224dc85240e4277514a2fe;hp=13178e620c4c6eac9bf7c70e2378049b706ed3ca;hb=b521931e0000388ff9080d46719936be98af54c6;hpb=ad5c7b826145e951950bd1afa6fce17ea193bb48 diff --git a/libust/channels.c b/libust/channels.c index 13178e6..402b915 100644 --- a/libust/channels.c +++ b/libust/channels.c @@ -294,12 +294,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);