Greg KH <greg-U8xfFu+wG4EAvxtiuMwx3w@public.gmane.org> writes:
[dropped perfmon list because gmane messed it up and it's apparently
closed anyways]
I think the real problem are not the architectures (the processor
adaption layer is usually relatively straight forward IIRC), but the
excessive functionality implemented by the user interface.
It would be really good to extract a core perfmon and start with
that and then add stuff as it makes sense.
e.g. core perfmon could be something simple like just support
to context switch state and initialize counters in a basic way
and perhaps get counter numbers for RDPMC in ring3 on x86[1]
Next step could be basic event on overflow/underflow support.
Then more features as they make sense, with clear rationale
what they're good for and proper step by step patches.
-Andi
[1] On x86 we urgently need a replacement to RDTSC for counting
cycles.
-