From: Mathieu Desnoyers Date: Tue, 16 Mar 2021 02:35:29 +0000 (-0400) Subject: Refactoring: struct lttng_enum_desc and lttng_enum_entry X-Git-Tag: v2.13.0-rc1~290 X-Git-Url: http://git.lttng.org./?a=commitdiff_plain;h=891d6b550bf16672b0c3a7b35362f231d6e10fc1;hp=891d6b550bf16672b0c3a7b35362f231d6e10fc1;p=lttng-ust.git Refactoring: struct lttng_enum_desc and lttng_enum_entry - Namespace these structures with lttng_ust_ prefix, - Use struct_size extensibility scheme, - Remove padding, - Use an array of pointers to structure rather than array of enumeration entries to allow easier handling of extensibility. This is achieved by using __LTTNG_COMPOUND_LITERAL(). Signed-off-by: Mathieu Desnoyers Change-Id: I2bf6e24e22c9646fc321f6c7c9ffcbd32ed22da0 ---