diff options
author | Maciej Wieczor-Retman <[email protected]> | 2024-02-27 08:21:41 +0100 |
---|---|---|
committer | Shuah Khan <[email protected]> | 2024-05-06 13:57:19 -0600 |
commit | 8780bc88d4c86cdb7e9591bde9dd1110156a203b (patch) | |
tree | 9ad6e25afa75c447a9f4233cf007a7ae608992f7 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | fa04b7ffc23f2f6b84add32f7d31222434116365 (diff) |
selftests/resctrl: Add cleanup function to test framework
Resctrl selftests use very similar functions to cleanup after
themselves. This creates a lot of code duplication. Also not being
hooked to the test framework means that ctrl-c handler isn't aware of
what test is currently running and executes all cleanups even though
only one is needed.
Add a function pointer to the resctrl_test struct and attach to it
cleanup functions from individual tests.
Signed-off-by: Maciej Wieczor-Retman <[email protected]>
Reviewed-by: Reinette Chatre <[email protected]>
Signed-off-by: Shuah Khan <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions