projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Cleanup warnings
[lttng-ust.git]
/
libust
/
ltt-probes.c
diff --git
a/libust/ltt-probes.c
b/libust/ltt-probes.c
index 76156f03d5bb7490ba67e8468c3b499d9ee99700..04392d8e6f479ddd452eb388933720a58f753d39 100644
(file)
--- a/
libust/ltt-probes.c
+++ b/
libust/ltt-probes.c
@@
-17,7
+17,7
@@
#include "ltt-tracer-core.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);
*/
static CDS_LIST_HEAD(probe_list);
@@
-41,7
+41,7
@@
int ltt_probe_register(struct lttng_probe_desc *desc)
int ret = 0;
int i;
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.
/*
* 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:
assert(!ret);
}
end:
- u
nlock_ust
();
+ u
st_unlock
();
return ret;
}
void ltt_probe_unregister(struct lttng_probe_desc *desc)
{
return ret;
}
void ltt_probe_unregister(struct lttng_probe_desc *desc)
{
-
lock_ust
();
+
ust_lock
();
cds_list_del(&desc->head);
cds_list_del(&desc->head);
- u
nlock_ust
();
+ u
st_unlock
();
}
/*
}
/*
This page took
0.027203 seconds
and
4
git commands to generate.