Re: [PATCH 06/23] perf mem: Check for memory events support

From: Jiri Olsa
Date: Tue Feb 23 2016 - 10:30:12 EST


On Tue, Feb 23, 2016 at 12:18:14PM -0300, Arnaldo Carvalho de Melo wrote:
> Em Mon, Feb 15, 2016 at 09:34:36AM +0100, Jiri Olsa escreveu:
> > Check if current kernel support available memory events
> > and display the status within -e list option:
> >
> > $ perf mem record -e list
> > [ok] ldlat-loads
> > [ok] ldlat-stores
>
> Can't this be:
>
> $ perf mem record -e list
> ldlat-loads: Available on this machine
> ldlat-stores: Available on this machine

hum IMO that would be quite long list if DATALA events will
get in, so I wanted something short and punchy ;-)

how about plaing it into back as you suggested
with just 'available'

$ perf mem record -e list
ldlat-loads: available
ldlat-stores: available

jirka