Hi, You are better off using the perfmon kernel git tree directly. It does have better support for Nehalem + all the latest bug fixes.
to clone the tree, you need to have the git tool installed (git-core package). Then do: git clone git://git.kernel.org/pub/scm/linux/kernel/git/eranian/linux-2.6.git Once you have the tree, simply type make and answer yes to all perfmon related questions. On Tue, Jun 15, 2010 at 5:51 PM, Eduard Diner <eduard.di...@googlemail.com> wrote: > Hello list, > I am trying to compile a 2.6.29 kernel on Nehalem. > > I did the following: > 1) Unpack, build and install libpfm > 2) Unpack, build and install pfmon > 3) Patch the kernel with the perfmon patch > 4) Configure and build your kernel > > I think step 4 is independend of step 1 and 2 ?!? > However, I get this compilation errors when compiling the kernel: > > CC arch/x86/perfmon/perfmon_intel_nhm.o > arch/x86/perfmon/perfmon_intel_nhm.c: In function ‘pfm_nhm_pebs_ovfl’: > arch/x86/perfmon/perfmon_intel_nhm.c:1016: error: implicit declaration of > function ‘ds_read_pebs’ > arch/x86/perfmon/perfmon_intel_nhm.c:1016: warning: assignment makes pointer > from integer without a cast > arch/x86/perfmon/perfmon_intel_nhm.c:1023: error: dereferencing pointer to > incomplete type > arch/x86/perfmon/perfmon_intel_nhm.c:1023: error: dereferencing pointer to > incomplete type > make[1]: *** [arch/x86/perfmon/perfmon_intel_nhm.o] Error 1 > > > Any ideas? > Thanks for your help! > > ------------------------------------------------------------------------------ > ThinkGeek and WIRED's GeekDad team up for the Ultimate > GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the > lucky parental unit. See the prize list and enter to win: > http://p.sf.net/sfu/thinkgeek-promo > _______________________________________________ > perfmon2-devel mailing list > perfmon2-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/perfmon2-devel > > ------------------------------------------------------------------------------ ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo _______________________________________________ perfmon2-devel mailing list perfmon2-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/perfmon2-devel