diff options
| author | Ian Rogers <[email protected]> | 2024-10-17 17:53:52 +0000 |
|---|---|---|
| committer | Namhyung Kim <[email protected]> | 2024-10-17 19:44:26 +0000 |
| commit | 1133e7f7dc53edcb26c0e07d345f7285c3246efa (patch) | |
| tree | 57b9c65a17455b3f5ea11f2acdc06be8396dda00 /tools/perf/tests/shell/lib/perf_json_output_lint.py | |
| parent | perf stat: Fix/add parameter names for print_metric (diff) | |
| download | kernel-1133e7f7dc53edcb26c0e07d345f7285c3246efa.tar.gz kernel-1133e7f7dc53edcb26c0e07d345f7285c3246efa.zip | |
perf stat: Display "none" for NaN with metric only json
Return earlier for an empty unit case. If snprintf of the fmt doesn't
produce digits between vals and ends, as happens with NaN, make the
value "none" as happens in print_metric_end.
Signed-off-by: Ian Rogers <[email protected]>
Acked-by: Namhyung Kim <[email protected]>
Cc: Yicong Yang <[email protected]>
Cc: Weilin Wang <[email protected]>
Cc: Will Deacon <[email protected]>
Cc: James Clark <[email protected]>
Cc: Mike Leach <[email protected]>
Cc: Leo Yan <[email protected]>
Cc: Sumanth Korikkar <[email protected]>
Cc: Thomas Richter <[email protected]>
Cc: Tim Chen <[email protected]>
Cc: John Garry <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Namhyung Kim <[email protected]>
Diffstat (limited to 'tools/perf/tests/shell/lib/perf_json_output_lint.py')
0 files changed, 0 insertions, 0 deletions
