Hello everyone,

I have pushed into GIT the newly restructured X86 code. There were
lots of changes
and the code in arch/x86/perfmon/perfmon.c looks a lot better now.
There is now a clear
separation between x86 common and PMU-specific code. All the Pentium
4, SMT, IBS,
PEBS specific code now lives in the corresponding PMU description modules.

All of this was possible by using a set of callbacks which act as
override when they
are defined. The generic code provides a default implementation for an
action but
each module can decide to have it own version because it needs to do additional
operations or it can take certain shortcuts. There are 3  mandatory
callbacks, the
others are optional.

Once Markus Metzger's ds.h interface is fully integrated into the
mainline kernel, I will
switch over to his interface for support PEBS. This will remove some
more code from
perfmon and the PMU description modules.

Some generic <-> arch specific callback were removed and others had
their interfaces
simplified, thus the patch touches more than just x86.

I would appreciate if you could test this new code on your x86
hardware. It does work
on Intel Core, and P6 machines. It needs more testing on AMD machines.

To use this new code, simply pull from the GIT tree. Report any
problem to me and the list.

Thanks.

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Register now and save $200. Hurry, offer ends at 11:59 p.m., 
Monday, April 7! Use priority code J8TLD2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
perfmon2-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/perfmon2-devel

Reply via email to