Cygwin: Pass file paths instead of file descriptors over UNIX sockets
[lttng-ust.git] / tests / ust-basic-tracing / ust-basic-tracing.c
index e704af1f9e346768f310bcbc9479fd80f2a56c5a..186d56ef4e3a37b851008acc51c50730ca54bc60 100644 (file)
@@ -207,13 +207,17 @@ int consume_stream(struct lttng_ust_shm_handle *handle, int cpu, char *outfile)
        struct lttng_ust_lib_ring_buffer *buf;
        int outfd, ret;
        int *shm_fd, *wait_fd;
+       char *shm_path, *wait_pipe_path;
        uint64_t *memory_map_size;
 
        chan = shmp(handle, handle->chan);
 
        /* open stream */
        buf = channel_get_ring_buffer(&chan->backend.config,
-               chan, cpu, handle, &shm_fd, &wait_fd, &memory_map_size);
+                                     chan, cpu, handle,
+                                     &shm_fd, &shm_path,
+                                     &wait_fd, &wait_pipe_path,
+                                     &memory_map_size);
        if (!buf)
                return -ENOENT;
        ret = lib_ring_buffer_open_read(buf, handle, 1);
This page took 0.023589 seconds and 4 git commands to generate.