Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1495259

Re: [PATCH v21 16/19] perf, tools: Make alias matching case-insensitive

From Jiri Olsa <jolsa@redhat.com>
Newsgroups linux.kernel
Subject Re: [PATCH v21 16/19] perf, tools: Make alias matching case-insensitive
Date 2016-10-04 10:20 +0200
Message-ID <sot7c-4Y-19@gated-at.bofh.it> (permalink)
References <shNkl-4te-3@gated-at.bofh.it> <shNkl-4te-1@gated-at.bofh.it> <som5H-3z4-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Mon, Oct 03, 2016 at 09:47:06PM -0300, Arnaldo Carvalho de Melo wrote:
> Em Thu, Sep 15, 2016 at 03:24:53PM -0700, Sukadev Bhattiprolu escreveu:
> > From: Andi Kleen <ak@linux.intel.com>
> > 
> > Make alias matching the events parser case-insensitive. This is useful
> > with the JSON events. perf uses lower case events, but the CPU manuals
> > generally use upper case event names. The JSON files use lower
> > case by default too. But if we search case insensitively then
> > users can cut-n-paste the upper case event names.
> > 
> > So the following works:
> > 
> > % perf stat -e BR_INST_EXEC.TAKEN_INDIRECT_NEAR_CALL true
> > 
> >  Performance counter stats for 'true':
> > 
> >                305      BR_INST_EXEC.TAKEN_INDIRECT_NEAR_CALL
> > 
> >        0.000492799 seconds time elapsed
> 
> So now trying to figure this out:
> 
> [acme@jouet linux]$ perf stat -e br_inst_exec.all_direct_near_call true
> event syntax error: 'br_inst_exec.all_direct_near_call'
>                      \___ 'period' is not usable in 'perf stat'
> Run 'perf list' for a list of valid events

looks like you need also this one:
  155128eaa62f Allow period= in perf stat CPU event descriptions.

jirka

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Re: [PATCH v21 16/19] perf, tools: Make alias matching  case-insensitive Arnaldo Carvalho de Melo <acme@kernel.org> - 2016-10-04 02:50 +0200
  Re: [PATCH v21 16/19] perf, tools: Make alias matching  case-insensitive Arnaldo Carvalho de Melo <acme@kernel.org> - 2016-10-04 03:00 +0200
    Re: [PATCH v21 16/19] perf, tools: Make alias matching  case-insensitive Jiri Olsa <jolsa@redhat.com> - 2016-10-04 10:30 +0200
  Re: [PATCH v21 16/19] perf, tools: Make alias matching  case-insensitive Jiri Olsa <jolsa@redhat.com> - 2016-10-04 10:20 +0200

csiph-web