> Both perfmon_intel_arch.c and perfmon_amd64.c are supposed to be kernel modules.
To install the new processor in the first place you have
to reboot anyways.
Also typically at least for new families (which tend to be the
only ones with radically new performance counters) it's typically
needed to change some things in the core kernel anyways. So
this doesn't seem like a really useful feature.
It becomes possible, but without having to use any modules. It should
just work.
Probably even without it worked -- at least if you limit yourself to
family 6 -- because the register layout all stayed the same too.
That said having modular PMUs is probably a good thing for
distribution kernels, but there is really no need for any
code compromises just to avoid a core kernel patch now and then.
-Andi
--