From: Mathieu Desnoyers Date: Sat, 1 Oct 2016 22:59:17 +0000 (-0400) Subject: Fix: perform TLS fixup in all UST entry points from each thread X-Git-Tag: v2.9.0-rc1~7 X-Git-Url: http://git.liburcu.org/?a=commitdiff_plain;h=c362addf1c50e1d3202a26ff96738b71b4f9a531;hp=c362addf1c50e1d3202a26ff96738b71b4f9a531;p=lttng-ust.git Fix: perform TLS fixup in all UST entry points from each thread Each entry point into lttng-ust that end up taking the ust lock need to perform a TLS fixup for each thread. Add a TLS fixup in both listener threads, in fork and base address dump helper libs, and in app context and tracepoint probe registration/unregistration functions, which can be called from application threads. Those ensure we don't take the libc dl lock within the ust lock when performing the TLS lazy fixup. Signed-off-by: Mathieu Desnoyers ---