aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorDaniel Latypov <[email protected]>2020-12-08 23:21:02 +0000
committerShuah Khan <[email protected]>2021-02-08 22:38:55 +0000
commitd3bae4a0b6e1bfbfcff3dbc2a6d96a505e31677e (patch)
treea5ce80efff581ab42471ef7b44da91896f97f557 /tools/perf/scripts/python/check-perf-trace.py
parentminor: kunit: tool: fix unit test so it can run from non-root dir (diff)
downloadkernel-d3bae4a0b6e1bfbfcff3dbc2a6d96a505e31677e.tar.gz
kernel-d3bae4a0b6e1bfbfcff3dbc2a6d96a505e31677e.zip
kunit: tool: simplify kconfig is_subset_of() logic
Don't use an O(nm) algorithm* and make it more readable by using a dict. *Most obviously, it does a nested for-loop over the entire other config. A bit more subtle, it calls .entries(), which constructs a set from the list for _every_ outer iteration. Signed-off-by: Daniel Latypov <[email protected]> Reviewed-by: David Gow <[email protected]> Tested-by: Brendan Higgins <[email protected]> Acked-by: Brendan Higgins <[email protected]> Signed-off-by: Shuah Khan <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions