From: Mathieu Desnoyers Date: Tue, 16 Mar 2021 20:11:37 +0000 (-0400) Subject: Cleanup: Add whitelines after struct_size fields X-Git-Tag: v2.13.0-rc1~272 X-Git-Url: http://git.liburcu.org/?a=commitdiff_plain;h=dc177d114989d85bc9d0c9f561632b9ea3a19908;p=lttng-ust.git Cleanup: Add whitelines after struct_size fields Signed-off-by: Mathieu Desnoyers Change-Id: I78e521c17437a17b1a65fd4387ad422d2e79aa36 --- diff --git a/include/lttng/ust-events.h b/include/lttng/ust-events.h index 18e4cd55..059589f3 100644 --- a/include/lttng/ust-events.h +++ b/include/lttng/ust-events.h @@ -258,6 +258,7 @@ struct lttng_ust_event_field { */ struct lttng_ust_event_desc { uint32_t struct_size; /* Size of this structure. */ + const char *name; void (*probe_callback)(void); const struct lttng_event_ctx *ctx; /* context */ @@ -368,6 +369,7 @@ enum lttng_ust_event_type { */ struct lttng_ust_event_common { uint32_t struct_size; /* Size of this structure. */ + struct lttng_ust_event_common_private *priv; /* Private event interface */ enum lttng_ust_event_type type; @@ -399,6 +401,7 @@ struct lttng_ust_event_recorder_private; */ struct lttng_ust_event_recorder { uint32_t struct_size; /* Size of this structure. */ + struct lttng_ust_event_common *parent; /* Inheritance by aggregation. */ struct lttng_ust_event_recorder_private *priv; /* Private event record interface */ @@ -547,6 +550,7 @@ struct lttng_ust_session_private; */ struct lttng_session { uint32_t struct_size; /* Size of this structure */ + struct lttng_ust_session_private *priv; /* Private session interface */ int active; /* Is trace session active ? */