diff options
author | Ian Rogers <irogers@google.com> | 2025-01-09 20:57:32 -0800 |
---|---|---|
committer | Namhyung Kim <namhyung@kernel.org> | 2025-01-16 11:01:03 -0800 |
commit | 2e47c503deeeadc1bfa66ece7f75e298a814e94f (patch) | |
tree | 9f918d5c023c07d3a72d5b0d239ae43a2e263d17 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | f2868b1a66d4f40f07e985b0beead606b2753602 (diff) |
perf test: Rename functions and variables for better clarity
The relationship between subtests and test cases is somewhat
confusing, so let's do away with the notion of sub-tests and switch to
just working with some number of test cases. Add a
test_suite__for_each_test_case as in many cases, except the special
one test case situation, the iteration can just be on all test
cases. Switch variable names to be more intention revealing of what
their value is.
This work was motivated by discussion with Kan where it was noted the
code is becoming overly indented:
https://lore.kernel.org/lkml/20241109160219.49976-1-irogers@google.com/
Unifying more of the sub-test/no-sub-tests avoids one level of
indentation in a number of places.
Signed-off-by: Ian Rogers <irogers@google.com>
Reviewed-by: Namhyung Kim <namhyung@kernel.org>
Cc: James Clark <james.clark@linaro.org>
Link: https://lore.kernel.org/r/20250110045736.598281-2-irogers@google.com
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions