Stephane, Looks like the import of my libpfm counter off value for power patch was mangled upon import. The patch looks ok, but to make it easier I just removed the offending code from the current CVS head and created a patch to fix it. Let me know if this works for you.
--chris -- Index: lib/pfmlib_gen_powerpc.c =================================================================== RCS file: /cvsroot/perfmon2/libpfm/lib/pfmlib_gen_powerpc.c,v retrieving revision 1.8 diff -r1.8 pfmlib_gen_powerpc.c 414,474d413 < static unsigned long long power4_mmcr0_counter_off_val[POWER4_NUM_EVENT_COUNTERS] = { < 0, /* PMC1 */ < 0, /* PMC2 */ < 0, < 0, < 0, < 0, < 0, < 0 < }; < static unsigned long long power4_mmcr1_counter_off_val[POWER4_NUM_EVENT_COUNTERS] = { < 0, < 0, < 0, /* PMC3 */ < 0, /* PMC4 */ < 0, /* PMC5 */ < 0, /* PMC6 */ < 0, /* PMC7 */ < static unsigned long long power5_mmcr0_counter_off_val[POWER5_NUM_EVENT_COUNTERS] = { < 0, < 0, < 0, < 0, < 0, < 0 < }; < < static unsigned long long power5_mmcr1_counter_off_val[POWER5_NUM_EVENT_COUNTERS] = { < 0, /* PMC1 */ < 0, /* PMC2 */ < 0, /* PMC3 */ < 0, /* PMC4 */ < 0, < 0 < }; < 0 /* PMC8 */ < }; < < static unsigned long long ppc970_mmcr0_counter_off_val[POWER4_NUM_EVENT_COUNTERS] = { < 0x8UL << (63 - 55), /* PMC1 */ < 0x8UL << (63 - 62), /* PMC2 */ < static unsigned long long *mmcr0_counter_off_val; < static unsigned long long *mmcr1_counter_off_val; < 0, < 0, < 0, < 0, < 0, < 0 < }; < static unsigned long long ppc970_mmcr1_counter_off_val[POWER4_NUM_EVENT_COUNTERS] = { < 0, < 0, < 0x8UL << (63 - 36), /* PMC3 */ < 0x8UL << (63 - 41), /* PMC4 */ < 0x8UL << (63 - 46), /* PMC5 */ < 0x8UL << (63 - 51), /* PMC6 */ < 0x8UL << (63 - 56), /* PMC7 */ < 0x8UL << (63 - 61) /* PMC8 */ < }; < 823,824d761 < mmcr0_counter_off_val = power5_mmcr0_counter_off_val; < mmcr1_counter_off_val = power5_mmcr1_counter_off_val; ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ perfmon2-devel mailing list perfmon2-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/perfmon2-devel