Re: [PATCH v1 0/4] Fixes/improvements to metric output

From: Liang, Kan
Date: Tue Feb 13 2024 - 09:28:36 EST




On 2024-02-09 3:49 p.m., Ian Rogers wrote:
> A small addition to allow NaNs to be encoded in metrics and then 3
> fixes to various metric related issues.
>
> Ian Rogers (4):
> perf expr: Allow NaN to be a valid number
> perf expr: Fix "has_event" function for metric style events
> perf stat: Avoid metric-only segv
> perf metric: Don't remove scale from counts
>

Reviewed-by: Kan Liang <kan.liang@xxxxxxxxxxxxxxx>

Thanks,
Kan


> tools/perf/util/expr.c | 20 +++++++++++++++++++-
> tools/perf/util/expr.l | 9 +++++++++
> tools/perf/util/stat-display.c | 2 +-
> tools/perf/util/stat-shadow.c | 7 +------
> 4 files changed, 30 insertions(+), 8 deletions(-)
>