On Tue, Oct 28, 2014 at 01:30:44PM +0100, Peter Zijlstra wrote: > Andi introduced the HSW cache events array, but used magic constants > against convention as set by all the other uarchs. Try and deobfuscate > these a bit. > > The SDM doesn't appear to come close to actually describing the > offcore but Andi said actual bit definitions were available from: > https://download.01.org/perfmon/HSW/Haswell_matrix_bit_definitions_V14.json > > The below script was used to generate the macros.
I already have a script to generate. It can be extended to generate the macros. However again please test the events and only submit them if they work. The tested bits I used are all documents in the previous comments. Anything that differs now needs to be retested by you. -Andi -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

