aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sctop.py
diff options
context:
space:
mode:
authorYuntao Wang <[email protected]>2022-04-03 21:52:45 +0800
committerAndrii Nakryiko <[email protected]>2022-04-03 17:01:48 -0700
commit9bbad6dab8279905c4593be69b06704b77b31403 (patch)
treed77e4cb1aa0c25a5bb68c1c31f62ca498d98b3dc /tools/perf/scripts/python/sctop.py
parentf6d60facd9b65614594f1feaa4eee18ac60a9a18 (diff)
selftests/bpf: Fix cd_flavor_subdir() of test_progs
Currently, when we run test_progs with just executable file name, for example 'PATH=. test_progs-no_alu32', cd_flavor_subdir() will not check if test_progs is running as a flavored test runner and switch into corresponding sub-directory. This will cause test_progs-no_alu32 executed by the 'PATH=. test_progs-no_alu32' command to run in the wrong directory and load the wrong BPF objects. Signed-off-by: Yuntao Wang <[email protected]> Signed-off-by: Andrii Nakryiko <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions