From: Francis Deslauriers Date: Thu, 9 Jul 2020 21:38:17 +0000 (-0400) Subject: Fix: consumer: Move sanity check within `consumer_subbuffer` functions X-Git-Tag: v2.13.0-rc1~585 X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=commitdiff_plain;h=514775d9bca89b3bd072c58e779201682304c57d;hp=514775d9bca89b3bd072c58e779201682304c57d Fix: consumer: Move sanity check within `consumer_subbuffer` functions The sanity check on the number bytes written by the `consumer_subbuffer` callback was not correct channel configured in the splice output type in a live session. To simplify this, move checks in the callback themselves so they can be specialized. Signed-off-by: Francis Deslauriers Signed-off-by: Jérémie Galarneau Change-Id: I4e47a305860684c461ba7ffffd5e3bb3a21990b0 ---