[PATCH v2 8/9] perf jevents: Generate metrics and events as separate tables

John Garry john.g.garry at oracle.com
Mon Jan 23 07:18:19 PST 2023


On 21/12/2022 22:34, Ian Rogers wrote:
> Turn a perf json event into an event, metric or both. This reduces the
> number of events needed to scan to find an event or metric. As events
> no longer need the relatively seldom used metric fields, 4 bytes is
> saved per event. This reduces the big C string's size by 335kb (14.8%)
> on x86.
> 
> Signed-off-by: Ian Rogers<irogers at google.com>

It would have been good to show an example of how the output changes. I 
could not apply the series (see cover), and knowing what to expect makes 
reviewing the code easier...

Thanks,
John



More information about the linux-arm-kernel mailing list