diff --git a/tools/perf/builtin-stat.c b/tools/perf/builtin-stat.c index 2e637e4c951d0f68e26844e14ce0d4bc11232770..f686d5ff594e6b93c6e6f732e7a1c97aa18c4e49 100644 --- a/tools/perf/builtin-stat.c +++ b/tools/perf/builtin-stat.c @@ -416,6 +416,8 @@ static void print_interval(void) list_for_each_entry(counter, &evsel_list->entries, node) print_counter_aggr(counter, prefix); } + + fflush(output); } static void handle_initial_delay(void)