Fix: lttng-live flush when output to file
[babeltrace.git] / formats / lttng-live / lttng-live.h
index 553cd34d5c1eb1a721f4761e58bca1083356e19d..e00a51e9739cdd700d7dfc5ab26f58b5d19357cf 100644 (file)
 #define LTTNG_LIVE_MAJOR                       2
 #define LTTNG_LIVE_MINOR                       4
 
+/*
+ * The lttng-live output file pointer is currently hardcoded to stdout,
+ * and is expected to be hardcoded to this by fflush() performed between
+ * each packet.
+ */
+#define LTTNG_LIVE_OUTPUT_FP                   stdout
+
 struct lttng_live_ctx {
        char traced_hostname[MAXNAMLEN];
        char session_name[MAXNAMLEN];
This page took 0.0227 seconds and 4 git commands to generate.