From: Jonathan Rajotte Date: Thu, 10 Mar 2016 20:04:35 +0000 (-0500) Subject: Fix: systematic overwrite of union values on add context X-Git-Tag: v2.8.0-rc1~78 X-Git-Url: https://git.liburcu.org/?a=commitdiff_plain;h=46f44e2a0813922f2687464d6190d663e56c2711;hp=46f44e2a0813922f2687464d6190d663e56c2711;p=lttng-tools.git Fix: systematic overwrite of union values on add context Bug introduced in commit 2001793c1141e89b34e70efb28b27ec0cc8e6d47 The type and config fields of the lttng_event_perf_counter_ctx member of lttng_event_context union would always be set to zero. Signed-off-by: Jonathan Rajotte Signed-off-by: Jérémie Galarneau ---