Fix: pre-fault TLS in ust-malloc instrumentation
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 26 Jul 2016 20:54:55 +0000 (16:54 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 26 Jul 2016 20:58:09 +0000 (16:58 -0400)
Faulting the TLS variable when accessed for the first time can trigger
deadlocks with internal libc lock when using the liblttng-ust-malloc
wrapper. Fix this by pre-faulting it in a library constructor, similarly
to the approach taken for all other TLS variables in lttng-ust.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>

No differences found
This page took 0.026321 seconds and 4 git commands to generate.