perf stat: Move noise/running printing into printout
authorAndi Kleen <ak@linux.intel.com>
Sat, 30 Jan 2016 17:06:51 +0000 (09:06 -0800)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 16 Feb 2016 20:13:02 +0000 (17:13 -0300)
commitcb110f471025f3278978aaccb18f3164ea2b8189
tree191f0e8f4cfcaab4d7d4d284570246dc9a24c8d9
parentf94833929032ad23412d3970beed6769a2fdbc19
perf stat: Move noise/running printing into printout

Move the running/noise printing into printout to avoid duplicated code
in the callers.

v2: Merged with other patches. Remove unnecessary hunk.
    Readd hunk that ended in earlier patch.
v3: Fix noise/running output in CSV mode
v4: Merge with later patch that also moves not supported printing.

Signed-off-by: Andi Kleen <ak@linux.intel.com>
Acked-by: Jiri Olsa <jolsa@kernel.org>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/r/1454173616-17710-4-git-send-email-andi@firstfloor.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-stat.c