Re: perf: Improve support for uncore JSON event lists

From: Jiri Olsa
Date: Tue Mar 21 2017 - 10:48:59 EST


On Mon, Mar 20, 2017 at 01:16:58PM -0700, Andi Kleen wrote:
> This patch kit further improves support for Intel uncore events in
> the Linux perf user tool. The basic support has been already
> merged earlier, but this makes it nicer to use.
>
> - Collapse counts from duplicated boxes to make the output
> easier to read.
> - Support specifying events for multiple duplicated boxes
> in an abbreviated format to shorten event specifiers
> - Add support for computing Metrics defined in the event lists,
> so that the event lists can extend the metrics in perf stat.
> This allows to represent many events in an easier to understand
> format.
>
> Available from
>
> git://git.kernel.org/pub/scm/linux/kernel/git/ak/linux-misc.git perf/builtin-json-30
>
> v1: Initial post after being split off to own patchkit
> Adding MetricName support and support for more than two events
> in expressions.
>
> v2: Address review comments. Move new hunk from refactor
> patchkit to patch adding new features. Improve changelogs
> slightly.
>
> v3: Rebased on latest tip tree.
> Split some patches based on review feedback.
> Add event list changes for MetricName
> Move extra printing in perf list to new option
> Improve descriptions
> Cleanups based on code review.
>
> v4: Use perf_evsel__cpus in refactoring
> Avoid multiple warning messages for missing metric events.
> Rebase on latest tip

except for the nit in one changelog, for the patchset:

Acked-by: Jiri Olsa <jolsa@xxxxxxxxxx>

thanks,
jirka