From: Jérémie Galarneau Date: Wed, 8 Jul 2020 18:57:40 +0000 (-0400) Subject: Clean-up: consumer: move open packet to post_consume X-Git-Tag: v2.13.0-rc1~596 X-Git-Url: https://git.lttng.org/?a=commitdiff_plain;h=503fefca8a1b82cfafccaa096e900c41bf4570f6;hp=503fefca8a1b82cfafccaa096e900c41bf4570f6;p=lttng-tools.git Clean-up: consumer: move open packet to post_consume Move the "open packet" step of read_subbuffer to a post-consume callback as this only needs to be done for data streams; it does not belong in the core of the read_subbuffer template method. Change-Id: Ia4d3f8f833e213a8d0e39bcf5ec766c2c05bcf80 Signed-off-by: Jérémie Galarneau ---