summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorPetr Machata <petrm@nvidia.com>2024-10-17 11:45:44 +0200
committerPaolo Abeni <pabeni@redhat.com>2024-10-22 13:33:47 +0200
commitb4b0549a4e59747b49619b2edabfb0d04e37c0b9 (patch)
tree9c0ff0e350013a16812a8d36a097d5eec3392f8a /tools/perf/scripts/python/exported-sql-viewer.py
parenta6e263f125cd7b10614a83159c453c061dbf6877 (diff)
selftests: forwarding: Add a fallback cleanup()
Consistent use of defers obviates the need for a separate test-specific cleanup function -- everything is just taken care of in defers. So in this patch, introduce a cleanup() helper in the forwarding lib.sh, which calls just pre_cleanup() and defer_scopes_cleanup(). Selftests are obviously still free to override the function. Since pre_cleanup() is too entangled with forwarding-specific minutia, the function cannot currently be in net/lib.sh. Signed-off-by: Petr Machata <petrm@nvidia.com> Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions