Tracepoint and TRACEPOINT_EVENT API cleanup
[ust.git] / libust / channels.c
index 893070570f715196000ba6fbcec35a7f20a0eac6..402b91581c370e7560224dc85240e4277514a2fe 100644 (file)
@@ -26,7 +26,7 @@
 #include <stdlib.h>
 #include <ust/marker.h>
 #include "channels.h"
-#include "usterr.h"
+#include "usterr_signal_safe.h"
 
 /*
  * ltt_channel_mutex may be nested inside the LTT trace mutex.
@@ -294,12 +294,12 @@ end:
  */
 void ltt_channels_trace_free(struct ust_channel *channels)
 {
-       lock_markers();
+       lock_ust_marker();
        pthread_mutex_lock(&ltt_channel_mutex);
        free(channels);
        urcu_ref_put(&index_urcu_ref, release_trace_channel);
        pthread_mutex_unlock(&ltt_channel_mutex);
-       unlock_markers();
+       unlock_ust_marker();
 }
 //ust// EXPORT_SYMBOL_GPL(ltt_channels_trace_free);
 
This page took 0.029628 seconds and 4 git commands to generate.