From: Mathieu Desnoyers Date: Wed, 18 May 2016 01:16:22 +0000 (-0400) Subject: Fix: compat ioctl for flush/get metadata version X-Git-Tag: v2.9.0-rc1~57 X-Git-Url: http://git.lttng.org/?a=commitdiff_plain;h=96c55c2f6b20fd742b3ea2aa291c28e140df82d8;hp=96c55c2f6b20fd742b3ea2aa291c28e140df82d8;p=lttng-modules.git Fix: compat ioctl for flush/get metadata version Unlike the non-compat version, the compat ioctl lttng ABI code for the ring buffer flush operation does not invoke lttng_metadata_output_channel before calling the ring buffer operation. This could lead to incomplete metadata on 64-bit kernels running with 32-bit lttng userland. There is also a discrepancy between the non-compat and compat code: the GET_METADATA_VERSION operation is performed before calling the ring buffer code. Ensure both non-compat and compat code are alike. Signed-off-by: Mathieu Desnoyers ---