lkml.org 
[lkml]   [2018]   [Aug]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC] perf/x86/intel: Export mem events only if there's PEBs support
On Mon, Aug 13, 2018 at 05:48:20PM +0200, Jiri Olsa wrote:
> hi,
> we had some reports that we show mem* events on KVM servers
> where they are not available, this patch hides them if there's
> no PEBs available
>
> currently on those servers we fail to open mem* events,
> because we can't access LDLAT msr
>
> however that's not so easy/straight forward to check,
> so I thought we could use check on PEBs instead, which
> needs to be there for mem events as well and seems to
> be enough to check
>
> thoughts? thanks,
> jirka

Acked-by: Andi Kleen <ak@linux.intel.com>

-Andi

\
 
 \ /
  Last update: 2018-08-13 20:59    [W:0.080 / U:1.132 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site