]> 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)
commit3c7789a2040388ea96f992e5af1f63c2c6d8d19a
tree7cd26f6f2f345411b5c5ce34b17d1c4efb19303d
parent6b686ad9e2b6b41f1449b4724085fc2e01a7fdf9
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