lkml.org 
[lkml]   [2023]   [Apr]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 2/6] perf: Support branch events logging
On Fri, Apr 14, 2023 at 03:47:29PM -0700, Andi Kleen wrote:
>
> > Yeah, don't do this. There is no guarantee what so ever you'll get any
> > of those events in the 0-3 range.
>
>
> The kernel can simply force to 0-3 if LBR is enabled and the feature too.
> It's in Kan's patch
>
> and it isn't particularly complicated.

And what, totally leave 4-7 unused even if those counters were not
related to LBR at all? That seems exceedingly daft.

\
 
 \ /
  Last update: 2023-04-17 13:49    [W:0.212 / U:0.576 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site