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 4ab641d59609dceb6d53d2a9cfa4f12f9835d467..56492be0c81a3f5c340e614d4067deb93ee355b9 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.024356 seconds
and
4
git commands to generate.