Re: perf: Add support for full Intel event lists

From: Jiri Olsa
Date: Thu Mar 06 2014 - 05:12:23 EST


On Wed, Mar 05, 2014 at 11:49:30AM -0800, Andi Kleen wrote:

SNIP

> Patches also available from
> git://git.kernel.org/pub/scm/linux/kernel/git/ak/linux-misc perf/json
>
> Example output:
>
> % perf download
> Downloading models file
> Downloading readme.txt
> 2014-03-05 10:39:33 URL:https://download.01.org/perfmon/readme.txt [10320/10320] -> "readme.txt" [1]
> 2014-03-05 10:39:34 URL:https://download.01.org/perfmon/mapfile.csv [1207/1207] -> "mapfile.csv" [1]
> Downloading events file
> % perf list
> ...
> br_inst_exec.all_branches [Speculative and retired
> branches]
> br_inst_exec.all_conditional [Speculative and retired
> macro-conditional
> branches]
> br_inst_exec.all_direct_jmp [Speculative and retired
> macro-unconditional
> branches excluding
> calls and indirects]
> ... 333 more new events ...
>
> % perf stat -e br_inst_exec.all_direct_jmp true
>
> Performance counter stats for 'true':
>
> 6,817 cpu/br_inst_exec.all_direct_jmp/
>
> 0.003503212 seconds time elapsed
>
> One nice feature is that a pointer to the specification update is now
> included in the description, which will hopefully clear up many problems:
>
> % perf list
> ...
> mem_load_uops_l3_hit_retired.xsnp_hit [Retired load uops which
> data sources were L3
> and cross-core snoop
> hits in on-pkg core
> cache. Supports address
> when precise. Spec
> update: HSM26, HSM30
> (Precise event)]
> ...

nice! going to review this soon

jirka
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/