From dc177d114989d85bc9d0c9f561632b9ea3a19908 Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Tue, 16 Mar 2021 16:11:37 -0400 Subject: [PATCH] Cleanup: Add whitelines after struct_size fields Signed-off-by: Mathieu Desnoyers Change-Id: I78e521c17437a17b1a65fd4387ad422d2e79aa36 --- include/lttng/ust-events.h | 4 ++++ 1 file changed, 4 insertions(+) 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 ? */ -- 2.34.1