[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180813185805.GA10097@tassilo.jf.intel.com>
Date: Mon, 13 Aug 2018 11:58:05 -0700
From: Andi Kleen <ak@...ux.intel.com>
To: Jiri Olsa <jolsa@...nel.org>
Cc: Peter Zijlstra <a.p.zijlstra@...llo.nl>,
lkml <linux-kernel@...r.kernel.org>,
Ingo Molnar <mingo@...nel.org>,
Alexander Shishkin <alexander.shishkin@...ux.intel.com>,
Michael Petlan <mpetlan@...hat.com>,
Arnaldo Carvalho de Melo <acme@...nel.org>
Subject: Re: [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@...ux.intel.com>
-Andi
Powered by blists - more mailing lists