Hi Stephane,

We are working through the example programs in the libpfm distribution 
and came across multiplex.c and multiplex2.c

After fixing a superficial problem with get_cpu_speed(), we find that on 
ppc970mp we are getting an error in pfm_write_pmds, where the smpl_pmds 
field is set to some large (bogus) value and is causing the program to 
exit with an error.  Similarly, on Power6, this same test is exiting 
with an error in pfm_write_pmcs, where the flags are set to an illegal 
value.

Looking more carefully at the test, it appears to be pretty old and may 
pre-date the multiplexing built into perfmon itself.

Is this example still valid?  Would you expect it to run on other 
hardware with modification? It looks like it was designed for Itanium 
initially.

Thanks,

- Corey


------------------------------------------------------------------------------
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