perf stat: Introduce print_counters function
authorJiri Olsa <jolsa@kernel.org>
Fri, 26 Jun 2015 09:29:26 +0000 (11:29 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 26 Jun 2015 15:00:50 +0000 (12:00 -0300)
commitd4f63a4741a808c0bf25d92884713008706fca16
treeab7344ddf4149181e82fae0fe5127ee4bf2a9b27
parent5835e2286583e4fa6c2a609446e1320e7da2b161
perf stat: Introduce print_counters function

Centralize counters print code into single print_counters function.

Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/r/1435310967-14570-22-git-send-email-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-stat.c