Rename struct lttng_event to struct lttng_ust_event_recorder
[lttng-ust.git] / liblttng-ust / event-notifier-notification.c
index 942f6136a96acbcc2ab32996dd60ba773ef67972..559c7fe88e21a62d42382d3aa657a595aa680aa0 100644 (file)
@@ -8,10 +8,10 @@
 
 #include <assert.h>
 #include <errno.h>
-#include <lttng/ust-events.h>
 #include <lttng/ust-endian.h>
 #include <usterr-signal-safe.h>
 
+#include "ust-events-internal.h"
 #include "../libmsgpack/msgpack.h"
 #include "lttng-bytecode.h"
 #include "ust-share.h"
@@ -174,7 +174,7 @@ void capture_sequence(struct lttng_msgpack_writer *writer,
        case atype_integer:
                integer_type = &nested_type->u.integer;
                break;
-       case atype_enum:
+       case atype_enum_nestable:
                /* Treat enumeration as an integer. */
                integer_type = &nested_type->u.enum_nestable.container_type->u.integer;
                break;
@@ -341,7 +341,7 @@ void notification_send(struct lttng_event_notifier_notification *notif,
        ust_notif.capture_buf_size = content_len;
 
        /* Send all the buffers. */
-       ret = patient_writev(notif->notification_fd, iov, iovec_count);
+       ret = ust_patient_writev(notif->notification_fd, iov, iovec_count);
        if (ret == -1) {
                if (errno == EAGAIN) {
                        record_error(event_notifier);
This page took 0.024565 seconds and 4 git commands to generate.