Re: [perfmon2] Counting Nehalem Uncore events
Status: Beta
Brought to you by:
seranian
From: stephane e. <er...@go...> - 2009-04-18 09:14:32
|
On Sat, Apr 18, 2009 at 2:16 AM, Ananth <ana...@gm...> wrote: > Thanks Stephane, > pfmon -I shows Nehalem. But /sys/*/model shows Intel architectural. I > guess that is where the problem is. :) > > $./pfmon -I > detected host CPUs: 8-way 1596MHz/8.0MB -- Intel(R) Core(TM) i7 CPU > 965 @ 3.20GHz (stepping 4) > detected pfmon PMU model: Intel Nehalem > detected libpfm PMU model: Intel Nehalem > max counters/set: 16 > supported pfmon PMU models: [AMD64] [Pentium 4] [Intel Core] [Intel > Atom] [Intel Nehalem] [Intel architectural PMU] > supported sampling modules: [inst-hist] [detailed] [compact] [raw] > pfmlib version: 3.8 > kernel perfmon version: 2.82 > kernel clock resolution: 1ns (1000000000Hz) > host kernel architecture: x86_64 > > $cat /sys/kernel/perfmon/pmu_desc/model > Intel architectural > Yes, that's your problem. Did you install the kernel modules (make modules_install)? Also make you you've enabled Nehalem support in the kernel CONFIG_X86_PERFMON_INTEL_NHM. |