[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20161017172647.GA21680@krava>
Date: Mon, 17 Oct 2016 19:26:47 +0200
From: Jiri Olsa <jolsa@...hat.com>
To: Andi Kleen <andi@...stfloor.org>
Cc: acme@...nel.org, jolsa@...nel.org, sukadev@...ux.vnet.ibm.com,
eranian@...gle.com, linux-kernel@...r.kernel.org,
Andi Kleen <ak@...ux.intel.com>
Subject: Re: [PATCH 08/10] perf, tools: Expand PMU events by prefix match
On Mon, Oct 17, 2016 at 09:56:42AM -0700, Andi Kleen wrote:
> > so there's a special treatment for uncore events,
> > what if user says 'uncore_box/..' then?
>
> It should work. There's nothing special for uncore later, this
> is just for convenience so that I have less to type.
really..
'uncore_cbox_0/clockticks/'
[jolsa@...va perf]$ sudo ./perf stat -e 'uncore_cbox_0/clockticks/' -a
^C
Performance counter stats for 'system wide':
0 uncore_cbox_0/clockticks/
0.676237018 seconds time elapsed
'cbox_0/clockticks/'
[jolsa@...va perf]$ sudo ./perf stat -e 'cbox_0/clockticks/' -a
^C
Performance counter stats for 'system wide':
0 cbox_0/clockticks/
0.991623038 seconds time elapsed
'cbox/clockticks'
[jolsa@...va perf]$ sudo ./perf stat -e 'cbox/clockticks/' -a
^C
Performance counter stats for 'system wide':
0 cbox/clockticks/
0.708006656 seconds time elapsed
'uncore_cbox/clockticks/'
[jolsa@...va perf]$ sudo ./perf stat -e 'uncore_cbox/clockticks/' -a
invalid or unsupported event: 'uncore_cbox/clockticks/'
Run 'perf list' for a list of valid events
Usage: perf stat [<options>] [<command>]
-e, --event <event> event selector. use 'perf list' to list available events
jirka
Powered by blists - more mailing lists