From 2bbf03f16a634f675c49c473b2b6528571990aea Mon Sep 17 00:00:00 2001 From: Andi Kleen Date: Fri, 2 Aug 2013 17:41:12 -0700 Subject: [PATCH] perf stat: Flush output after each line in interval mode When interval mode is outputting to a pipe, each measurement should be flushed individually, so that the reader sees it timely. With a terminal each line is automatically flushed by stdio, but that is disabled with non terminal output. Simply fflush output after each time interval Signed-off-by: Andi Kleen Reviewed-by: Jiri Olsa Cc: Jiri Olsa Cc: Stephane Eranian Link: http://lkml.kernel.org/r/1375490473-1503-5-git-send-email-andi@firstfloor.org Signed-off-by: Arnaldo Carvalho de Melo --- Reading git-format-patch failed