perf stat: Move perf_stat initialization counter process code
authorJiri Olsa <jolsa@kernel.org>
Fri, 26 Jun 2015 09:29:22 +0000 (11:29 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 26 Jun 2015 14:50:19 +0000 (11:50 -0300)
commit7ddb1b6bbf1e614e6700f226cb0a559c5c635336
tree13c2b845251658253c2d36e466ec8efcbecef929
parent32ce0a47aaa401a7dd27dfe65210f3e3aa809682
perf stat: Move perf_stat initialization counter process code

Moving perf_stat initialization counter process code,
to make the reading path free of processing logic.

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-18-git-send-email-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-stat.c