Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1721395
| From | Jiri Olsa <jolsa@redhat.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v2 14/19] perf, tools, stat: Support JSON metrics in perf stat |
| Date | 2017-08-28 11:20 +0200 |
| Message-ID | <ujon8-3MV-23@gated-at.bofh.it> (permalink) |
| References | <udrxo-1lO-5@gated-at.bofh.it> <udrxp-1lO-39@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Fri, Aug 11, 2017 at 04:26:29PM -0700, Andi Kleen wrote: > From: Andi Kleen <ak@linux.intel.com> > > 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). > > 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. > > We also allow to organize the metrics in metric groups, which > allows a short cut to select several related metrics at once. > > Add a new -M / --metrics option to perf stat that adds the metrics > or metric groups specified. > > Add the core code to manage and parse the metric groups. They > are collected from the JSON data structures into a separate rblist. > When computing shadow values look for metrics in that list. > Then they are computed using the existing saved values infrastructure > in stat-shadow.c > > The actual JSON metrics are in a separate pull request. would need this for testing.. could you please put it somewhere? thanks, jirka
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
Re: [PATCH v2 14/19] perf, tools, stat: Support JSON metrics in perf stat Jiri Olsa <jolsa@redhat.com> - 2017-08-28 11:20 +0200 Re: [PATCH v2 14/19] perf, tools, stat: Support JSON metrics in perf stat Andi Kleen <andi@firstfloor.org> - 2017-08-28 18:50 +0200
csiph-web