This patch fixes whichpmu on perfmon3, I've tested and it works on ppc970mp.
--chris j arges

--

Index: examples/detect_pmcs.c
===================================================================
RCS file: /cvsroot/perfmon2/libpfm/examples/detect_pmcs.c,v
retrieving revision 1.10
diff -r1.10 detect_pmcs.c
67a68,69
>       
>       get_sif(0, sif);
Index: examples/whichpmu.c
===================================================================
RCS file: /cvsroot/perfmon2/libpfm/examples/whichpmu.c,v
retrieving revision 1.4
diff -r1.4 whichpmu.c
39a40
>       pfarg_sinfo_t sif;
78c79
<       detect_unavail_pmu_regs(0, &una_pmcs, &una_pmds);
---
>       detect_unavail_pmu_regs(&sif, &una_pmcs, &una_pmds);


------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
perfmon2-devel mailing list
perfmon2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/perfmon2-devel

Reply via email to