diff options
author | Stephane Eranian <eranian@google.com> | 2013-07-05 21:06:45 +0400 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2013-07-09 01:01:46 +0400 |
commit | 582ec0829b3dd74d8c0f58403a3f9df8cbaa9c7d (patch) | |
tree | dfc53409cad09fd7c8eccbf5db02ecbd700f2a36 /tools/perf/util/PERF-VERSION-GEN | |
parent | f9ceffb605be7b3b3b2a6e6d14dd0d7a97eae580 (diff) | |
download | linux-582ec0829b3dd74d8c0f58403a3f9df8cbaa9c7d.tar.xz |
perf stat: Fix per-socket output bug for uncore events
This patch fixes a problem reported by Andi Kleen on perf
stat when measuring uncore events:
# perf stat --per-socket -e uncore_pcu/event=0x0/ -I1000 -a sleep 2
It would not report counts for the second socket. That was due to a
cpu mapping bug in print_aggr().
This patch also fixes the socket numbering bug for <not counted>
events.
Reported-by: Andi Kleen <ak@linux.intel.com>
Signed-off-by: Stephane Eranian <eranian@google.com>
Tested-by: Andi Kleen <ak@linux.intel.com>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Namhyung Kim <namhyung.kim@lge.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: zheng.z.yan@intel.com
Link: http://lkml.kernel.org/r/20130705170645.GA32519@quad
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/PERF-VERSION-GEN')
0 files changed, 0 insertions, 0 deletions