mirror of
https://github.com/torvalds/linux.git
synced 2026-11-20 21:12:43 +00:00
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 <[email protected]> Signed-off-by: Namhyung Kim <[email protected]>