THIS MODULE is defined to 0 when a module is built-in the kernel [1].
This caused NULL pointer dereference when booting a kernel with the
lttng-modules built-in.
To fix this issue, add #if guard around the wrapper_lttng_fixup_sig
function checking if the MODULE macro is defined to confirm that this
Merged into master, 2.10, 2.9, 2.8, thanks!
Mathieu
- On May 17, 2017, at 5:09 PM, Francis Deslauriers
francis.deslauri...@efficios.com wrote:
> THIS MODULE is defined to 0 when a module is built-in the kernel [1].
> This caused NULL pointer dereference when booting a kernel with the
> lttn
relayd_live_stop performs, in this order:
CMM_STORE_SHARED(live_dispatch_thread_exit, 1); [A]
futex_nto1_wake(&viewer_conn_queue.futex);[B]
whereas thread_dispatcher does:
while (!CMM_LOAD_SHARED(live_dispatch_thread_exit)) { [1]
[...]
futex_nto1_prepare(