fix: remove unused include wait.h
[lttng-ust.git] / src / lib / lttng-ust / lttng-events.c
index b33d6e1bfa4ea0c45101f0389d0b32e0a488f845..8165bfd1264be948ce1cf230e406ddc9a9e1f247 100644 (file)
 #include "common/ust-context-provider.h"
 #include "lttng-ust-uuid.h"
 
-#include "tracepoint-internal.h"
-#include "string-utils.h"
+#include "common/tracepoint.h"
+#include "common/strutils.h"
 #include "lttng-bytecode.h"
 #include "lttng-tracer.h"
 #include "lttng-tracer-core.h"
 #include "lttng-ust-statedump.h"
 #include "context-internal.h"
 #include "lib/lttng-ust/events.h"
-#include "wait.h"
 #include "common/ringbuffer/shm.h"
 #include "common/ringbuffer/frontend_types.h"
 #include "common/ringbuffer/frontend.h"
@@ -780,7 +779,7 @@ int lttng_event_recorder_create(const struct lttng_ust_event_desc *desc,
        event_recorder->parent->priv->desc = desc;
 
        if (desc->loglevel)
-               loglevel = *(*event_recorder->parent->priv->desc->loglevel);
+               loglevel = *(*desc->loglevel);
        else
                loglevel = TRACE_DEFAULT;
        if (desc->model_emf_uri)
This page took 0.023953 seconds and 4 git commands to generate.