mirror-linux/tools/perf/tests/shell/lib
Ian Rogers c335b7a960 perf test: Be tolerant of missing json metric none value
print_metric_only_json and print_metric_end in stat-display.c may
create a metric value of "none" which fails validation as isfloat. Add
a helper to properly validate metric numeric values.

Signed-off-by: Ian Rogers <irogers@google.com>
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
2025-11-16 23:24:00 -08:00
..
attr.py perf test: Address attr.py mypy error 2025-03-24 09:38:20 -07:00
coresight.sh perf test: Speed up some tests using perf list 2024-10-17 09:55:58 -07:00
perf_has_symbol.sh perf test: Change all remaining #!/bin/sh to #!/bin/bash 2025-06-26 10:31:05 -07:00
perf_json_output_lint.py perf test: Be tolerant of missing json metric none value 2025-11-16 23:24:00 -08:00
perf_metric_validation.py perf test: Hybrid improvements for metric value validation test 2025-05-13 17:24:42 -03:00
perf_metric_validation_rules.json perf test: Add skip list for metrics known would fail 2023-06-21 22:23:57 -07:00
probe.sh perf tests lib probe: Fix shellcheck warning about about missing shebang 2023-08-03 17:01:26 -03:00
probe_vfs_getname.sh perf test: Change all remaining #!/bin/sh to #!/bin/bash 2025-06-26 10:31:05 -07:00
setup_python.sh perf test: Change all remaining #!/bin/sh to #!/bin/bash 2025-06-26 10:31:05 -07:00
stat_output.sh perf test stat csv: Update test expectations and events 2025-11-11 16:48:36 -08:00
waiting.sh perf test: Change all remaining #!/bin/sh to #!/bin/bash 2025-06-26 10:31:05 -07:00