#include <lttng/kernel-version.h>
#include <lttng/events.h>
#include <lttng/tracer.h>
+#include <lttng/event-notifier-notification.h>
#include <lttng/abi-old.h>
#include <lttng/endian.h>
#include <lttng/string-utils.h>
WARN_ON(ret);
}
+ irq_work_sync(&event_notifier_group->wakeup_pending);
+
list_for_each_entry_safe(event_notifier_enabler, tmp_event_notifier_enabler,
&event_notifier_group->enablers_head, node)
lttng_event_notifier_enabler_destroy(event_notifier_enabler);
ret = -ENOMEM;
goto cache_error;
}
+
event_notifier->group = event_notifier_group;
event_notifier->user_token = token;
event_notifier->filter = filter;
event_notifier->instrumentation = itype;
event_notifier->evtype = LTTNG_TYPE_EVENT;
+ event_notifier->send_notification = lttng_event_notifier_notification_send;
INIT_LIST_HEAD(&event_notifier->bytecode_runtime_head);
INIT_LIST_HEAD(&event_notifier->enablers_ref_head);