Move include/ust/ to include/lttng/
[lttng-ust.git] / libust / ltt-probes.c
index 76156f03d5bb7490ba67e8468c3b499d9ee99700..66ee971cc2d9dac7b1de6e85216ad78097efe4a5 100644 (file)
 #include <string.h>
 #include <errno.h>
 #include <urcu/list.h>
-#include <ust/core.h>
-#include <ust/lttng-events.h>
+#include <lttng/core.h>
+#include <lttng/ust-events.h>
 
 #include "ltt-tracer-core.h"
 
 /*
- * probe list is protected by lock_ust()/unlock_ust().
+ * probe list is protected by ust_lock()/ust_unlock().
  */
 static CDS_LIST_HEAD(probe_list);
 
@@ -41,7 +41,7 @@ int ltt_probe_register(struct lttng_probe_desc *desc)
        int ret = 0;
        int i;
 
-       lock_ust();
+       ust_lock();
        /*
         * TODO: This is O(N^2). Turn into a hash table when probe registration
         * overhead becomes an issue.
@@ -62,15 +62,15 @@ int ltt_probe_register(struct lttng_probe_desc *desc)
                assert(!ret);
        }
 end:
-       unlock_ust();
+       ust_unlock();
        return ret;
 }
 
 void ltt_probe_unregister(struct lttng_probe_desc *desc)
 {
-       lock_ust();
+       ust_lock();
        cds_list_del(&desc->head);
-       unlock_ust();
+       ust_unlock();
 }
 
 /*
This page took 0.02497 seconds and 4 git commands to generate.