Re: [PATCH v3 1/3] perf stat: Pass fewer metric arguments

From: Namhyung Kim
Date: Fri Feb 23 2024 - 16:14:48 EST


On Tue, 20 Feb 2024 23:07:52 -0800, Ian Rogers wrote:
> Pass metric_expr and evsel rather than specific variables from the
> struct, thereby reducing the number of arguments. This will enable
> later fixes.
>
> To reduce the size of the diff, local variables are added to match the
> previous parameter names. This isn't done in the case of "name" as
> evsel->name is more intention revealing. A whitespace issue is also
> addressed.
>
> [...]

Applied to perf-tools-next, thanks!

[1/3] perf stat: Pass fewer metric arguments
commit: eee41e6b287e2adfefbe3b6fc80c66097c076f89
[2/3] perf metrics: Compute unmerged uncore metrics individually
commit: a59fb796a36bb6c2b7e6e256a9e5f9ba18109937
[3/3] perf stat: Fix metric-only aggregation index
commit: bafd4e75c1ac5a9da0aec5c7c52c7a72613a0cf3

Best regards,
--
Namhyung Kim <namhyung@xxxxxxxxxx>