Hi Stephane, I have CONFIG_X86_PERFMON_INTEL_NHM=y. So it will get built into the kernel. Despite that, the right PMU module is not being loaded. I have CONFIG_X86_PERFMON_INTEL_ARCH=y too. Is that causing a conflict?
-- Ananth On Sat, Apr 18, 2009 at 2:14 AM, stephane eranian <eran...@googlemail.com> wrote: > On Sat, Apr 18, 2009 at 2:16 AM, Ananth <ananth.nara...@gmail.com> 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. > ------------------------------------------------------------------------------ Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p _______________________________________________ perfmon2-devel mailing list perfmon2-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/perfmon2-devel