lttng_ust_init_thread: call urcu_register_thread
authorNorbert Lange <nolange79@gmail.com>
Mon, 1 Aug 2022 14:37:00 +0000 (16:37 +0200)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 1 Aug 2022 15:12:11 +0000 (11:12 -0400)
commit8e95eaadb72a1a97486f15cc128ff6ed2fcd0196
tree0ec492233e4f098cbd6f20888b98aa76e36275f2
parentc246521ddcba1d1d28cfa0482aa500b9122e7264
lttng_ust_init_thread: call urcu_register_thread

Eagerly register the thread, and avoid taking mutex during the
first tracepoint.

Signed-off-by: Norbert Lange <nolange79@gmail.com>
Acked-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
src/lib/lttng-ust/lttng-ust-comm.c
This page took 0.02479 seconds and 4 git commands to generate.