Skip to content

Fixes/improvements to metric output

Ian Rogers linux-perf-users lkml 1 version Applied

Status from this message: Applied to perf-tools-next, thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 3 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/4perf expr: Allow NaN to be a valid numbertools/perf/util/expr.l+9 -00 replies
2/4perf expr: Fix "has_event" function for metric style eventstools/perf/util/expr.c+19 -10 replies
3/4perf stat: Avoid metric-only segvtools/perf/util/stat-display.c+1 -11 reply
4/4perf metric: Don't remove scale from countstools/perf/util/stat-shadow.c+1 -60 replies

Reviews trailers per patch

None of the 4 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchKan Liang
SeriesR-b
1/4
2/4
3/4
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

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

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(-)
Signature · 1 line
2.43.0.687.g38aa6559b0-goog