Re: [PATCH v2 07/21] perf metric: Add metric new and free

From: John Garry
Date: Tue Oct 19 2021 - 07:27:34 EST


On 15/10/2021 18:21, Ian Rogers wrote:
Metrics are complex enough that a new/free reduces the risk of memory
leaks. Move static functions used in new.

Acked-by: Andi Kleen<ak@xxxxxxxxxxxxxxx>
Signed-off-by: Ian Rogers<irogers@xxxxxxxxxx>

Reviewed-by: John Garry <john.garry@xxxxxxxxxx>