]> git.baikalelectronics.ru Git - kernel.git/commit
selftests/bpf: Move test_section_names into test_progs and fix it
authorAndrii Nakryiko <andriin@fb.com>
Wed, 23 Oct 2019 06:09:13 +0000 (23:09 -0700)
committerAlexei Starovoitov <ast@kernel.org>
Wed, 23 Oct 2019 17:06:46 +0000 (10:06 -0700)
commit4145c7e0bb1063fb8a3bb454f4181841bb72e535
tree3058dd6eaedbd04de6b66cf8dae1c991dac84a46
parente6ad25391abbc9ea5fc79e7fb77fa17b6550679c
selftests/bpf: Move test_section_names into test_progs and fix it

Make test_section_names into test_progs test. Also fix ESRCH expected
results. Add uprobe/uretprobe and tp/raw_tp test cases.

Fixes: c9ac14a43b30 ("libbpf: Teach bpf_object__open to guess program types")
Reported-by: kernel test robot <rong.a.chen@intel.com>
Signed-off-by: Andrii Nakryiko <andriin@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20191023060913.1713817-1-andriin@fb.com
tools/testing/selftests/bpf/Makefile
tools/testing/selftests/bpf/prog_tests/section_names.c [new file with mode: 0644]
tools/testing/selftests/bpf/test_section_names.c [deleted file]