Privatize part of marker.h, and type-serializer.h
[ust.git] / libust / channels.c
index 893070570f715196000ba6fbcec35a7f20a0eac6..85e5944e325db8010e556b5b94f3fa5cdfc32a52 100644 (file)
@@ -25,8 +25,9 @@
 
 #include <stdlib.h>
 #include <ust/marker.h>
+#include <ust/marker-internal.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 +295,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.02805 seconds and 4 git commands to generate.