perf stat: Move zero_per_pkg into counter process code
authorJiri Olsa <jolsa@kernel.org>
Fri, 26 Jun 2015 09:29:21 +0000 (11:29 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 26 Jun 2015 14:49:45 +0000 (11:49 -0300)
commit32ce0a47aaa401a7dd27dfe65210f3e3aa809682
tree2523b39ed0f6830e7feb0172858f40252c193a48
parent3b3eb044519ac4c422dbc6084303c470b8d2dc61
perf stat: Move zero_per_pkg into counter process code

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