]> git.baikalelectronics.ru Git - kernel.git/commit
tools/bpf: change selftest test_btf for both jit and non-jit
authorYonghong Song <yhs@fb.com>
Sun, 25 Nov 2018 07:20:45 +0000 (23:20 -0800)
committerAlexei Starovoitov <ast@kernel.org>
Tue, 27 Nov 2018 01:57:10 +0000 (17:57 -0800)
commit3b873ddf88b424593cf05bb2db990f4cc3cdac39
tree7cd26f6f2f345411b5c5ce34b17d1c4efb19303d
parent2821b34950effc5649130df77bfe7cd26bcd17a4
tools/bpf: change selftest test_btf for both jit and non-jit

The selftest test_btf is changed to test both jit and non-jit.
The test result should be the same regardless of whether jit
is enabled or not.

Signed-off-by: Yonghong Song <yhs@fb.com>
Acked-by: Martin KaFai Lau <kafai@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
tools/testing/selftests/bpf/test_btf.c