X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fbin%2Flttng-relayd%2Fctf-trace.c;h=02a8b2bf16e6b553ccd6d4059c88634aa42bd49d;hp=aed9eb4da68a1fe702c8b8546ad0b06f3f190f84;hb=89f7a0c719c471a8b26e0de6faa9a393d933e1eb;hpb=5eb3e5b8f4fcb95f27f43cd2e7ea436937037d0e diff --git a/src/bin/lttng-relayd/ctf-trace.c b/src/bin/lttng-relayd/ctf-trace.c index aed9eb4da..02a8b2bf1 100644 --- 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)