Fix: lttng-live recv() and send() flags, partial recv()
[babeltrace.git] / formats / lttng-live / lttng-live.h
index 137a296d58d38cb248c539d62be9b1d22d538e98..09de20b92e1431bb92830bdded8aa9929ce36604 100644 (file)
@@ -26,7 +26,6 @@
 
 #include <stdint.h>
 
-#define LTTNG_METADATA_PATH_TEMPLATE           "/tmp/lttng-live-XXXXXX"
 #define LTTNG_DEFAULT_NETWORK_VIEWER_PORT      5344
 
 #define LTTNG_LIVE_MAJOR                       2
@@ -46,7 +45,8 @@ struct lttng_live_ctx {
 struct lttng_live_viewer_stream {
        uint64_t id;
        uint64_t mmap_size;
-       int fd;
+       FILE *metadata_fp_write;
+       ssize_t metadata_len;
        int metadata_flag;
        int first_read;
        struct lttng_live_session *session;
@@ -67,6 +67,7 @@ struct lttng_live_ctf_trace {
        struct lttng_live_viewer_stream *metadata_stream;
        GPtrArray *streams;
        FILE *metadata_fp;
+       struct bt_trace_handle *handle;
        int trace_id;
        int in_use;
 };
This page took 0.024608 seconds and 4 git commands to generate.