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>
Showing
- tools/perf/builtin-stat.c 20 additions, 10 deletionstools/perf/builtin-stat.c
- tools/perf/util/cpumap.c 15 additions, 7 deletionstools/perf/util/cpumap.c
- tools/perf/util/cpumap.h 1 addition, 1 deletiontools/perf/util/cpumap.h
- tools/perf/util/evsel.h 1 addition, 0 deletionstools/perf/util/evsel.h
- tools/perf/util/parse-events.c 14 additions, 4 deletionstools/perf/util/parse-events.c
- tools/perf/util/pmu.c 30 additions, 0 deletionstools/perf/util/pmu.c
- tools/perf/util/pmu.h 1 addition, 0 deletionstools/perf/util/pmu.h
Loading
Please register or sign in to comment