From: Julien Desfossez Date: Sat, 8 Feb 2014 04:49:30 +0000 (-0500) Subject: faster retry X-Git-Tag: v0.3~49 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=71ba9228e9371e5732113ad52848e7558f6e52e8;p=lttngtop.git faster retry Signed-off-by: Julien Desfossez --- diff --git a/src/liblttng-live.c b/src/liblttng-live.c index 117b851..8d91e32 100644 --- a/src/liblttng-live.c +++ b/src/liblttng-live.c @@ -888,7 +888,7 @@ retry: break; case LTTNG_VIEWER_INDEX_RETRY: printf_verbose("get_next_index: retry\n"); - sleep(1); + sleep(0.1); goto retry; case LTTNG_VIEWER_INDEX_HUP: printf_verbose("get_next_index: stream hung up\n"); diff --git a/src/lttngtop.c b/src/lttngtop.c index dd3130d..f7af659 100644 --- a/src/lttngtop.c +++ b/src/lttngtop.c @@ -1107,6 +1107,7 @@ int main(int argc, char **argv, char **envp) int ret; struct bt_context *bt_ctx = NULL; + //babeltrace_verbose = 1; init_lttngtop(); ret = parse_options(argc, argv); if (ret < 0) {