projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix: print dots while waiting for data availability
[lttng-tools.git]
/
src
/
lib
/
lttng-ctl
/
lttng-ctl.c
diff --git
a/src/lib/lttng-ctl/lttng-ctl.c
b/src/lib/lttng-ctl/lttng-ctl.c
index 033a28105ef6744f464434c32ad0f01b2ada889c..daa4a7391b2bca552efd7caf391528e14d4ed968 100644
(file)
--- a/
src/lib/lttng-ctl/lttng-ctl.c
+++ b/
src/lib/lttng-ctl/lttng-ctl.c
@@
-574,6
+574,7
@@
static int _lttng_stop_tracing(const char *session_name, int wait)
}
_MSG("Waiting for data availability");
+ fflush(stdout);
/* Check for data availability */
do {
@@
-591,6
+592,7
@@
static int _lttng_stop_tracing(const char *session_name, int wait)
if (data_ret) {
usleep(DEFAULT_DATA_AVAILABILITY_WAIT_TIME);
_MSG(".");
+ fflush(stdout);
}
} while (data_ret != 0);
This page took
0.024192 seconds
and
4
git commands to generate.