#include <lttng/ust-events.h>
#include <usterr-signal-safe.h>
-#include <helper.h>
+#include <ust-helper.h>
#include <lttng/ust-ctl.h>
#include <ust-comm.h>
#include <ust-fd.h>
-#include <lttng/ust-dynamic-type.h>
-#include <lttng/ust-context-provider.h>
+#include <ust-dynamic-type.h>
+#include <ust-context-provider.h>
#include "error.h"
#include "compat.h"
#include "lttng-ust-uuid.h"
static CDS_LIST_HEAD(sessions);
static CDS_LIST_HEAD(event_notifier_groups);
-struct cds_list_head *_lttng_get_sessions(void)
+struct cds_list_head *lttng_get_sessions(void)
{
return &sessions;
}
cds_list_for_each_entry(event, &session->events_head, node) {
_lttng_event_unregister(event);
}
- lttng_ust_synchronize_trace(); /* Wait for in-flight events to complete */
+ lttng_ust_urcu_synchronize_rcu(); /* Wait for in-flight events to complete */
__tracepoint_probe_prune_release_queue();
cds_list_for_each_entry_safe(event_enabler, event_tmpenabler,
&session->enablers_head, node)
&event_notifier_group->event_notifiers_head, node)
_lttng_event_notifier_unregister(notifier);
- lttng_ust_synchronize_trace();
+ lttng_ust_urcu_synchronize_rcu();
cds_list_for_each_entry_safe(notifier_enabler, tmpnotifier_enabler,
&event_notifier_group->enablers_head, node)
unsigned int i;
/* Get handle on list of sessions. */
- sessionsp = _lttng_get_sessions();
+ sessionsp = lttng_get_sessions();
/*
* Iterate over all events in the probe provider descriptions and
_lttng_event_notifier_unregister);
/* Wait for grace period. */
- lttng_ust_synchronize_trace();
+ lttng_ust_urcu_synchronize_rcu();
/* Prune the unregistration queue. */
__tracepoint_probe_prune_release_queue();