On Thu, May 13, 2010 at 3:55 AM, Shirley, John David <john-david.shir...@hp.com> wrote: > I’m trying to get perfmon2 to work with Nehalem EX. > > > > # more /proc/cpuinfo > > vendor_id : GenuineIntel > > cpu family : 6 > > model : 46 > > > > It is clear that the latest releases do not support this processor. I’m > trying work around the problem > True 2.6.29 patch does not handle Model 46.
> by getting the latest and greatest code. Is this the right approach? Is > this processor even supported > > with the latest code? > > > Here’s what I’m working with: > > pfmon – top of trunk 5/12/2010 > > pflib – top of trunk 5/12/2010 > > perfmon2 – 2.6.29 patch > > > > > > As far as I can tell, I have the correct versions of pfmon and pflib – that > is they support my CPU. > > The problem is that the kernel oopses when I try to monitor anything. It’s > pretty clear that the 2.6.29 > > kernel does not support model 46. However, I think that the latest pfmon > snapshot DOES. > > > > Is this correct? > You need to grab the latest perfmon kernel source tree: git clone git://git.kernel.org/pub/scm/linux/kernel/git/eranian/linux-2.6.git Unless you need to access some advanced features of this processor such as uncore PMU, LBR, OFFCORE, I recommend you switch to perf_events instead. This is the official performance monitoring interface now. It is available by default since 2.6.31. If you grab 2.6.34, you will get model 46 support right away. As for the perf_event tool, it is also in the kernel source tree (tools/perf). ------------------------------------------------------------------------------ _______________________________________________ perfmon2-devel mailing list perfmon2-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/perfmon2-devel