summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorPetr Machata <petrm@nvidia.com>2024-11-14 17:09:55 +0300
committerJakub Kicinski <kuba@kernel.org>2024-11-16 03:39:19 +0300
commitb219bcfcc92e9bd50c6277ac68cb75f64b403e5e (patch)
tree265a3de60e4e86b8161e031feb7e33cf068c069b /tools/perf/scripts/python/exported-sql-viewer.py
parent42575ad5aab932273475d1ec3e7881cb5a05420e (diff)
downloadlinux-b219bcfcc92e9bd50c6277ac68cb75f64b403e5e.tar.xz
selftests: net: lib: Move logging from forwarding/lib.sh here
Many net selftests invent their own logging helpers. These really should be in a library sourced by these tests. Currently forwarding/lib.sh has a suite of perfectly fine logging helpers, but sourcing a forwarding/ library from a higher-level directory smells of layering violation. In this patch, move the logging helpers to net/lib.sh so that every net test can use them. Together with the logging helpers, it's also necessary to move pause_on_fail(), and EXIT_STATUS and RET. Existing lib.sh users might be using these same names for their functions or variables. However lib.sh is always sourced near the top of the file (checked), and whatever new definitions will simply override the ones provided by lib.sh. Signed-off-by: Petr Machata <petrm@nvidia.com> Reviewed-by: Amit Cohen <amcohen@nvidia.com> Acked-by: Shuah Khan <skhan@linuxfoundation.org> Link: https://patch.msgid.link/edd3785a3bd72ffbe1409300989e993ee50ae98b.1731589511.git.petrm@nvidia.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions