projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix: Document the locking assumptions of ctf_trace_find_by_path()
[lttng-tools.git]
/
src
/
bin
/
lttng-relayd
/
ctf-trace.c
diff --git
a/src/bin/lttng-relayd/ctf-trace.c
b/src/bin/lttng-relayd/ctf-trace.c
index aed9eb4da68a1fe702c8b8546ad0b06f3f190f84..02a8b2bf16e6b553ccd6d4059c88634aa42bd49d 100644
(file)
--- a/
src/bin/lttng-relayd/ctf-trace.c
+++ b/
src/bin/lttng-relayd/ctf-trace.c
@@
-117,6
+117,8
@@
error:
/*
* Return a ctf_trace object if found by id in the given hash table else NULL.
+ *
+ * Must be called with rcu_read_lock() taken.
*/
struct ctf_trace *ctf_trace_find_by_path(struct lttng_ht *ht,
char *path_name)
This page took
0.024806 seconds
and
4
git commands to generate.