From: Jérémie Galarneau Date: Fri, 8 May 2020 20:00:11 +0000 (-0400) Subject: consumerd: move rotation logic to domain-agnostic read path X-Git-Tag: v2.13.0-rc1~633 X-Git-Url: https://git.liburcu.org/?a=commitdiff_plain;h=23d565989350c270c68e9a6c8edfbe2dd6a6895d;hp=23d565989350c270c68e9a6c8edfbe2dd6a6895d;p=lttng-tools.git consumerd: move rotation logic to domain-agnostic read path The "rotation ready" logic is duplicated in both user space and kernel specializations of the read subbuffer functions. It is moved to the domain-agnostic caller where it is needed only once. This makes it easier to implement a follow-up fix and reduces code duplication. Signed-off-by: Jérémie Galarneau Change-Id: Iae952a2cd52fa458cec956ae219492557e4adf79 ---