perf stat: Use xyarray for cpu evsel counts
authorJiri Olsa <jolsa@kernel.org>
Fri, 26 Jun 2015 09:29:10 +0000 (11:29 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 26 Jun 2015 14:19:19 +0000 (11:19 -0300)
commita8e02324dfe6bcafc15d02b790f33321ec4facb0
tree74fc921aab20fe15559b3a0bb82095cee80aa9b9
parent1ac77e1ce8654ec94ada0c508d58ba80a4647fba
perf stat: Use xyarray for cpu evsel counts

Switching single dimensional array of 'struct perf_counts_values'
with xyarray object, so we could store thread dimension counts.

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