Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1504129
| From | Andi Kleen <andi@firstfloor.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [GIT PULL] Vendor events file/dir names |
| Date | 2016-10-19 18:50 +0200 |
| Message-ID | <su2dY-3Sv-45@gated-at.bofh.it> (permalink) |
| References | <stlsm-7Hb-15@gated-at.bofh.it> <stxtw-7at-15@gated-at.bofh.it> <stEEF-3BE-1@gated-at.bofh.it> <stZSP-2nd-123@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
> How do I query individual hw event groups? > > 'perf list' output is really long now, and for example it gives me: > > cache: > l1d.replacement > [L1D data line replacements] > ... > > If I knew that I'm interested in cache related events, I'd have expected to be > able to do: > > perf list cache > > or at least: > > perf list cache: > > or something similar to list just - but it does not seem to do the right thing. perf list doesn't support topic matching, only event name matching. I'll send a patch to add topic matching too. > triton:~/tip> perf list longest_lat_cache.miss > > List of pre-defined events (to be used in -e): > > cache: > longest_lat_cache.miss > [Core-originated cacheable demand requests missed LLC] > > But the event table actually includes the following as well: > > "PublicDescription": "This event counts each cache miss condition for references to the last level cache.", > > which is not printed anywhere. I tried the obvious 'perf list -v longest_lat_cache.miss'. -v (or --long-desc) should work and it did at some point. I'll investigate. > > 3) > > If I come with an event from the vendor world, say "LONGEST_LAT_CACHE.MISS", and > try to list it, 'perf list' does not recognize it: > > triton:~/tip> perf list LONGEST_LAT_CACHE.MISS > > List of pre-defined events (to be used in -e): > > I believe the searching of events in perf list should be case insentitive in > general. Right. Will fix. -Andi
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[RFC] Vendor events file/dir names Arnaldo Carvalho de Melo <acme@kernel.org> - 2016-10-17 21:10 +0200
Re: [RFC] Vendor events file/dir names Andi Kleen <andi@firstfloor.org> - 2016-10-17 23:30 +0200
Re: [RFC] Vendor events file/dir names Ingo Molnar <mingo@kernel.org> - 2016-10-18 10:00 +0200
[GIT PULL] Vendor events file/dir names Arnaldo Carvalho de Melo <acme@kernel.org> - 2016-10-18 17:40 +0200
Re: [GIT PULL] Vendor events file/dir names Arnaldo Carvalho de Melo <acme@kernel.org> - 2016-10-19 16:20 +0200
Re: [GIT PULL] Vendor events file/dir names Ingo Molnar <mingo@kernel.org> - 2016-10-19 17:30 +0200
Re: [GIT PULL] Vendor events file/dir names Ingo Molnar <mingo@kernel.org> - 2016-10-19 16:40 +0200
Re: [GIT PULL] Vendor events file/dir names Andi Kleen <andi@firstfloor.org> - 2016-10-19 18:50 +0200
Re: [GIT PULL] Vendor events file/dir names Andi Kleen <andi@firstfloor.org> - 2016-10-19 19:50 +0200
csiph-web