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>
This commit is contained in:
parent
1ac77e1ce8
commit
a8e02324df
4 changed files with 28 additions and 14 deletions
|
@ -218,7 +218,7 @@ static void perf_stat__reset_stats(struct perf_evlist *evlist)
|
|||
|
||||
evlist__for_each(evlist, evsel) {
|
||||
perf_evsel__reset_stat_priv(evsel);
|
||||
perf_evsel__reset_counts(evsel, perf_evsel__nr_cpus(evsel));
|
||||
perf_evsel__reset_counts(evsel);
|
||||
}
|
||||
|
||||
perf_stat__reset_shadow_stats();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue