- 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];
-};
-
-struct lttng_counter {
- struct file *file; /* File associated to counter. */
- struct file *owner;
- struct lttng_counter_transport *transport;
- struct lib_counter *counter;
- struct lttng_counter_ops *ops;
-};
-
-struct lttng_event_notifier_group {
- struct file *file; /* File associated to event notifier group */
- struct file *notif_file; /* File used to expose notifications to userspace. */
- struct list_head node; /* event notifier group list */
- struct list_head enablers_head; /* List of enablers */
- struct list_head event_notifiers_head; /* List of event notifier */
- struct lttng_event_notifier_ht event_notifiers_ht; /* Hash table of event notifiers */
- struct lttng_kernel_channel_buffer_ops *ops;
- struct lttng_transport *transport;
- struct channel *chan; /* Ring buffer channel for event notifier group. */
- struct lib_ring_buffer *buf; /* Ring buffer for event notifier group. */
- wait_queue_head_t read_wait;
- struct irq_work wakeup_pending; /* Pending wakeup irq work. */
- struct lttng_kernel_event_notifier *sc_unknown; /* for unknown syscalls */
- struct lttng_kernel_event_notifier *sc_compat_unknown;
-
- struct lttng_syscall_filter *sc_filter;
-
- struct hlist_head *event_notifier_syscall_dispatch;
- struct hlist_head *event_notifier_compat_syscall_dispatch;
- struct hlist_head *event_notifier_exit_syscall_dispatch;
- struct hlist_head *event_notifier_exit_compat_syscall_dispatch;
-
- struct hlist_head event_notifier_unknown_syscall_dispatch;
- struct hlist_head event_notifier_compat_unknown_syscall_dispatch;
- struct hlist_head event_notifier_exit_unknown_syscall_dispatch;
- struct hlist_head event_notifier_exit_compat_unknown_syscall_dispatch;
-
- int syscall_all_entry;
- int syscall_all_exit;
-
- unsigned int sys_enter_registered:1, sys_exit_registered:1;
-
- struct lttng_counter *error_counter;
- size_t error_counter_len;