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

From: Ian Rogers
Date: Fri Feb 09 2024 - 15:50:19 EST


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

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(-)

--
2.43.0.687.g38aa6559b0-goog