From: Jérémie Galarneau Date: Mon, 4 May 2020 22:21:48 +0000 (-0400) Subject: consumerd: move address computation from on_read_subbuffer_mmap X-Git-Url: http://git.efficios.com/?p=lttng-tools.git;a=commitdiff_plain;h=128708c34ee7d054755d110df12940155c2dd781;hp=128708c34ee7d054755d110df12940155c2dd781 consumerd: move address computation from on_read_subbuffer_mmap The computation of the subbuffer's address is moved outside of lttng_consumer_on_read_subbuffer_mmap to make it usable with a regular buffer. This facilitates an upcoming change. Moreover this has the benefit of isolating domain-specific logic from this function which is supposed to be domain-agnostic. Signed-off-by: Jérémie Galarneau Change-Id: I16f8ccaa73804f98fa03e69136548e6d6b7782e5 ---