Add structure size field to struct lttng_session
[lttng-ust.git] / liblttng-ust / event-notifier-notification.c
index 472479fd39817060136cda0b99590050f52bdf84..313339f19a3303e690de4190748ffa11e87c62f5 100644 (file)
@@ -8,13 +8,13 @@
 
 #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 "share.h"
+#include "ust-share.h"
 
 /*
  * We want this write to be atomic AND non-blocking, meaning that we
@@ -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.023866 seconds and 4 git commands to generate.