#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"
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;
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);