lkml.org 
[lkml]   [2014]   [Oct]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/3] perf,x86: De-obfuscate HSW offcore bits
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



\
 
 \ /
  Last update: 2014-10-28 14:41    [W:0.054 / U:0.848 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site