From: Mathieu Desnoyers Date: Thu, 27 Jan 2022 19:19:09 +0000 (-0500) Subject: Reorder struct lttng_kernel_session_private fields X-Git-Url: http://git.lttng.org./?a=commitdiff_plain;h=87ab615b05c2bcac64aeb3e9eca59d77fde35e60;p=lttng-modules.git Reorder struct lttng_kernel_session_private fields Signed-off-by: Mathieu Desnoyers Change-Id: I9a7c8f415c1b0b128662081f580df14bd5368893 --- diff --git a/include/lttng/events-internal.h b/include/lttng/events-internal.h index 5cb751f6..ab432b8c 100644 --- a/include/lttng/events-internal.h +++ b/include/lttng/events-internal.h @@ -516,16 +516,17 @@ struct lttng_kernel_session_private { struct file *file; /* File associated to session */ struct list_head chan_head; /* Channel list head */ struct list_head events_head; /* Event list head */ + struct list_head enablers_head; /* List of event enablers */ + + struct lttng_event_ht events_ht; /* Hash table of events */ + struct list_head list; /* Session list */ unsigned int free_chan_id; /* Next chan ID to allocate */ guid_t uuid; /* Trace session unique ID */ struct lttng_metadata_cache *metadata_cache; unsigned int metadata_dumped:1, tstate:1; /* Transient enable state */ - /* List of event enablers */ - struct list_head enablers_head; - /* Hash table of events */ - struct lttng_event_ht events_ht; + char name[LTTNG_KERNEL_ABI_SESSION_NAME_LEN]; char creation_time[LTTNG_KERNEL_ABI_SESSION_CREATION_TIME_ISO8601_LEN]; };