X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=include%2Flttng%2Fevents-internal.h;h=39446ebeda3d43ba11232123d519edd87d1c0d75;hb=09710b830767f6cc69fc68ea7e1903a1122d1045;hp=21d887f03f80f65410809540e6ae9e4543ac01d1;hpb=546cb5f29a6b43d6240f21a1a2d1a38b2919f966;p=lttng-modules.git diff --git a/include/lttng/events-internal.h b/include/lttng/events-internal.h index 21d887f0..39446ebe 100644 --- a/include/lttng/events-internal.h +++ b/include/lttng/events-internal.h @@ -236,20 +236,19 @@ struct lttng_event_enabler_common { unsigned int enabled:1; uint64_t user_token; /* User-provided token. */ + + struct list_head node; /* list of enablers */ + bool published; /* published in list. */ }; struct lttng_event_recorder_enabler { struct lttng_event_enabler_common parent; - struct list_head node; /* per-session list of enablers */ - bool published; /* published in per-session list. */ struct lttng_kernel_channel_buffer *chan; }; struct lttng_event_notifier_enabler { struct lttng_event_enabler_common parent; uint64_t error_counter_index; - struct list_head node; /* List of event_notifier enablers */ - bool published; /* published in group list. */ struct lttng_event_notifier_group *group; /* head list of struct lttng_kernel_bytecode_node */ @@ -860,6 +859,8 @@ int lttng_syscalls_destroy_syscall_table(struct lttng_kernel_syscall_table *sysc long lttng_syscall_table_get_active_mask(struct lttng_kernel_syscall_table *syscall_table, struct lttng_kernel_abi_syscall_mask __user *usyscall_mask); + +void lttng_syscall_table_set_wildcard_all(struct lttng_event_enabler_common *event_enabler); #else static inline int lttng_syscalls_register_event(struct lttng_event_enabler_common *event_enabler) { @@ -897,6 +898,9 @@ static inline int lttng_syscalls_create_matching_event_notifiers(struct lttng_ev return -ENOSYS; } +static inline void lttng_syscall_table_set_wildcard_all(struct lttng_event_enabler_common *event_enabler) +{ +} #endif #ifdef CONFIG_KPROBES