From: Mathieu Desnoyers Date: Mon, 15 Mar 2021 14:37:44 +0000 (-0400) Subject: Refactor struct lttng_ust_lib_ring_buffer_ctx X-Git-Tag: v2.13.0-rc1~297 X-Git-Url: http://git.lttng.org./?a=commitdiff_plain;ds=sidebyside;h=2b7080aa8c2481a3a316c98702884c902a01bde5;hp=2b7080aa8c2481a3a316c98702884c902a01bde5;p=lttng-ust.git Refactor struct lttng_ust_lib_ring_buffer_ctx - Remove padding entirely. Will be replaced by checks against @struct_size. - Rename @ctx_len to @struct_size, to align with the rest of the other structures. - Remove priv vs priv2 private data fields. "priv" held a pointer only useful for legacy ABI. Set priv2 to the lttng_ctx used in the current ABI instead. - Remove checks for @ctx_len only useful to support old ABI. - Remove fallback code for old ABI. Signed-off-by: Mathieu Desnoyers Change-Id: I1273be9615846304266206769700e799bde4e51f ---