aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/bpf_helpers_doc.py
diff options
context:
space:
mode:
authorAndrii Nakryiko <[email protected]>2019-10-16 06:00:45 +0000
committerAlexei Starovoitov <[email protected]>2019-10-17 19:15:08 +0000
commit0b6e71c398a947a335622ad52807e500e1b5fefa (patch)
tree34889cd896dde85861c8c7dc150a17deb31b6d82 /scripts/bpf_helpers_doc.py
parentselftests/bpf: Restore the netns after flow dissector reattach test (diff)
downloadkernel-0b6e71c398a947a335622ad52807e500e1b5fefa.tar.gz
kernel-0b6e71c398a947a335622ad52807e500e1b5fefa.zip
selftests/bpf: Teach test_progs to cd into subdir
We are building a bunch of "flavors" of test_progs, e.g., w/ alu32 flag for Clang when building BPF object. test_progs setup is relying on having all the BPF object files and extra resources to be available in current working directory, though. But we actually build all these files into a separate sub-directory. Next set of patches establishes convention of naming "flavored" test_progs (and test runner binaries in general) as test_progs-flavor (e.g., test_progs-alu32), for each such extra flavor. This patch teaches test_progs binary to automatically detect its own extra flavor based on its argv[0], and if present, to change current directory to a flavor-specific subdirectory. Signed-off-by: Andrii Nakryiko <[email protected]> Signed-off-by: Alexei Starovoitov <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions