Hello,

In another email, I will post up a fairly large patch to the Power arch code in 
libpfm4.  The existing code in libpfm4 for Power is currently dormant, and 
doesn't compile if you enable it.

This patch does several things:
1) Clears out all of the group table and related per-processor data
2) Adopts the libpfm4 API and internal structure.
3) Gets rid of the per-processor pfmlib_*_priv.h files, because they contained 
defines which are no longer needed.
4) Gets rid of the dispatch function and the associated data and internal 
functions called by it.
5) Moves the defines neeeded from powerpc_reg.h into pfmlib_power_priv.h, and 
deletes powerpc_reg.h.
6) Corrects the event codes for Power6 (the same that was done to libpfm3.x 
about a week ago).

The resulting code compiles, and I have tested it using examples/showevtinfo 
and 
perf_examples/self on a Power5 machine.  At present, self_count.c doesn't 
compile because of a missing rdpmc function.

The patch is so large due to the removal of the group data from the 
power*_events.h file.  Even compressed, it's about 133kB, so I'm posting it in 
a 
separate email, in case the mailing list server blocks it.

Thanks for your consideration,

- Corey

Corey Ashford
Software Engineer
IBM Linux Technology Center, Linux Toolchain
Beaverton, OR
503-578-3507
cjash...@us.ibm.com


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
perfmon2-devel mailing list
perfmon2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/perfmon2-devel

Reply via email to