projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: lttng-live flush when output to file
[babeltrace.git]
/
formats
/
lttng-live
/
lttng-live.h
diff --git
a/formats/lttng-live/lttng-live.h
b/formats/lttng-live/lttng-live.h
index 553cd34d5c1eb1a721f4761e58bca1083356e19d..e00a51e9739cdd700d7dfc5ab26f58b5d19357cf 100644
(file)
--- a/
formats/lttng-live/lttng-live.h
+++ b/
formats/lttng-live/lttng-live.h
@@
-32,6
+32,13
@@
#define LTTNG_LIVE_MAJOR 2
#define LTTNG_LIVE_MINOR 4
#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];
struct lttng_live_ctx {
char traced_hostname[MAXNAMLEN];
char session_name[MAXNAMLEN];
This page took
0.022952 seconds
and
4
git commands to generate.