projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
sessiond: agent: enable events matching event notifiers
[lttng-tools.git]
/
src
/
bin
/
lttng-sessiond
/
notification-thread.h
diff --git
a/src/bin/lttng-sessiond/notification-thread.h
b/src/bin/lttng-sessiond/notification-thread.h
index bfce4cd3fbb8c8bca208f7b0d753f7e4446a73db..83a5bea79e175240b462e0703c743220ee98ba02 100644
(file)
--- a/
src/bin/lttng-sessiond/notification-thread.h
+++ b/
src/bin/lttng-sessiond/notification-thread.h
@@
-47,6
+47,15
@@
struct notification_event_tracer_event_source_element {
struct cds_list_head node;
};
struct cds_list_head node;
};
+struct notification_trigger_tokens_ht_element {
+ uint64_t token;
+ /* Weak reference to the trigger. */
+ struct lttng_trigger *trigger;
+ struct cds_lfht_node node;
+ /* call_rcu delayed reclaim. */
+ struct rcu_head rcu_node;
+};
+
struct notification_thread_handle {
/*
* Queue of struct notification command.
struct notification_thread_handle {
/*
* Queue of struct notification command.
@@
-258,6
+267,7
@@
struct notification_thread_state {
struct cds_lfht *sessions_ht;
struct cds_lfht *triggers_ht;
struct cds_lfht *triggers_by_name_uid_ht;
struct cds_lfht *sessions_ht;
struct cds_lfht *triggers_ht;
struct cds_lfht *triggers_by_name_uid_ht;
+ struct cds_lfht *trigger_tokens_ht;
struct {
uint64_t next_tracer_token;
uint64_t name_offset;
struct {
uint64_t next_tracer_token;
uint64_t name_offset;
This page took
0.024946 seconds
and
4
git commands to generate.