Reorder struct lttng_kernel_session_private fields
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 27 Jan 2022 19:19:09 +0000 (14:19 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 15 Jul 2024 20:58:48 +0000 (16:58 -0400)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Change-Id: I9a7c8f415c1b0b128662081f580df14bd5368893

include/lttng/events-internal.h

index 5cb751f65ef6368cf2c7bb84c78e3d548923a06a..ab432b8cdf660f3796e7e19ec52dff0e66794c61 100644 (file)
@@ -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];
 };
This page took 0.026115 seconds and 4 git commands to generate.