diff options
| author | Andi Kleen <[email protected]> | 2013-08-02 17:41:12 -0700 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2013-08-07 17:35:29 -0300 |
| commit | 2bbf03f16a634f675c49c473b2b6528571990aea (patch) | |
| tree | ed2519b8cb4cf3afd82c55102552c6d3cf590792 /tools/perf/scripts/python/check-perf-trace.py | |
| parent | 411916880ff4061ac0491a154f10af4d49a0c61a (diff) | |
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 <[email protected]>
Reviewed-by: Jiri Olsa <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Stephane Eranian <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions