perf stat: Check PMU cpumask file
authorYan, Zheng <zheng.z.yan@intel.com>
Mon, 10 Sep 2012 07:53:50 +0000 (15:53 +0800)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 17 Sep 2012 16:12:02 +0000 (13:12 -0300)
commit7ae92e744e3fb389afb1e24920ecda331d360c61
tree46c5d4616a003011a1237ed8d31592a662cf9720
parent314d9f63f385096580e9e2a06eaa0745d92fe4ac
perf stat: Check PMU cpumask file

If user doesn't explicitly specify CPU list, perf-stat only collects
events on CPUs listed in the PMU cpumask file.

Signed-off-by: "Yah, Zheng" <zheng.z.yan@intel.com>
Cc: Andi Kleen <andi@firstfloor.org>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/r/1347263631-23175-3-git-send-email-zheng.z.yan@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-stat.c
tools/perf/util/cpumap.c
tools/perf/util/cpumap.h
tools/perf/util/evsel.h
tools/perf/util/parse-events.c
tools/perf/util/pmu.c
tools/perf/util/pmu.h