summaryrefslogtreecommitdiff
path: root/tools/perf/tests/shell/lib/perf_json_output_lint.py
diff options
context:
space:
mode:
authorIan Rogers <irogers@google.com>2024-10-17 20:53:54 +0300
committerNamhyung Kim <namhyung@kernel.org>2024-10-17 22:44:26 +0300
commit37b77ae954167f0ed1bf3dd610b319eeb43cf854 (patch)
treec6d4858a5b79bad41fbbbb4dd95e5f46cd75a0b6 /tools/perf/tests/shell/lib/perf_json_output_lint.py
parente1cc918b6cfd12064f9b085f4c5b059d183bd8c6 (diff)
downloadlinux-37b77ae954167f0ed1bf3dd610b319eeb43cf854.tar.xz
perf stat: Change color to threshold in print_metric
Colors don't mean things in CSV and JSON output, switch to a threshold enum value that the standard output can convert to a color. Updating the CSV and JSON output will be later changes. Signed-off-by: Ian Rogers <irogers@google.com> Acked-by: Namhyung Kim <namhyung@kernel.org> Cc: Yicong Yang <yangyicong@hisilicon.com> Cc: Weilin Wang <weilin.wang@intel.com> Cc: Will Deacon <will@kernel.org> Cc: James Clark <james.clark@linaro.org> Cc: Mike Leach <mike.leach@linaro.org> Cc: Leo Yan <leo.yan@linux.dev> Cc: Sumanth Korikkar <sumanthk@linux.ibm.com> Cc: Thomas Richter <tmricht@linux.ibm.com> Cc: Tim Chen <tim.c.chen@linux.intel.com> Cc: John Garry <john.g.garry@oracle.com> Link: https://lore.kernel.org/r/20241017175356.783793-6-irogers@google.com Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Diffstat (limited to 'tools/perf/tests/shell/lib/perf_json_output_lint.py')
0 files changed, 0 insertions, 0 deletions