Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1697155
| From | Jiri Olsa <jolsa@redhat.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: Support standalone metrics and metric groups for perf |
| Date | 2017-07-26 16:20 +0200 |
| Message-ID | <u7vko-1ob-45@gated-at.bofh.it> (permalink) |
| References | <u6VgR-3zh-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Mon, Jul 24, 2017 at 04:40:00PM -0700, Andi Kleen wrote: > Add generic support for standalone metrics specified in JSON files > to perf stat. A metric is a formula that uses multiple events > to compute a higher level result (e.g. IPC). > > For more complex metrics we need to have micro architecture > specific knowledge, so it makes sense to tie metrics to > JSON event lists. > > Previously metrics were always tied to an event and automatically > enabled with that event. But now change it that we can have > standalone metrics. They are in the same JSON data structure > as events, but don't have an event name, only a metric name. > > We also allow to organize the metrics in metric groups, which > allows a short cut to select several related metrics at once. > > This patch kit adds the code to perf to manage metric groups > > The first few patches are generic bug fixes and can be applied > directly. Then there is a 'weak group' feature that is useful > independently from metrics. After there are metrics specific > patches. > > The patches are available in > > git://git.kernel.org/pub/scm/linux/kernel/git/ak/linux-misc.git perf/metric-group-4 > > The actual Intel JSON metrics are available in git as a separate pull > request in > > git://git.kernel.org/pub/scm/linux/kernel/git/ak/linux-misc.git perf/intel-json-metrics-2 hi, looks like it's not pushed out? [jolsa@krava perf]$ git remote -v | grep andi andi git://git.kernel.org/pub/scm/linux/kernel/git/ak/linux-misc.git (fetch) andi git://git.kernel.org/pub/scm/linux/kernel/git/ak/linux-misc.git (push) [jolsa@krava perf]$ git remote update andi Fetching andi [jolsa@krava perf]$ git branch -r | grep metric-group [jolsa@krava perf]$ git branch -r | grep intel-json-metrics-2 [jolsa@krava perf]$ thanks, jirka
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Support standalone metrics and metric groups for perf Andi Kleen <andi@firstfloor.org> - 2017-07-25 01:50 +0200
[PATCH v1 11/15] perf, tools, stat: Factor out generic metric printing Andi Kleen <andi@firstfloor.org> - 2017-07-25 01:50 +0200
[PATCH v1 03/15] perf, tools, stat: Fix saved values rbtree lookup Andi Kleen <andi@firstfloor.org> - 2017-07-25 01:50 +0200
[PATCH v1 15/15] perf, tools: Support duration_time Andi Kleen <andi@firstfloor.org> - 2017-07-25 01:50 +0200
[PATCH v1 01/15] perf, tools, stat: Fix buffer overflow while freeing events Andi Kleen <andi@firstfloor.org> - 2017-07-25 01:50 +0200
Re: Support standalone metrics and metric groups for perf Jiri Olsa <jolsa@redhat.com> - 2017-07-26 16:20 +0200
Re: Support standalone metrics and metric groups for perf Andi Kleen <andi@firstfloor.org> - 2017-07-26 17:40 +0200
Re: Support standalone metrics and metric groups for perf Jiri Olsa <jolsa@redhat.com> - 2017-07-28 10:50 +0200
csiph-web