From: Rong Tao Date: Tue, 22 Nov 2022 00:50:42 +0000 (+0800) Subject: docs/bpf: Update btf selftests program and add link X-Git-Tag: v6.6.17~5932^2~120^2~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b74344cbede22fdfc1366348b3d576eac0131380;p=platform%2Fkernel%2Flinux-rpi.git docs/bpf: Update btf selftests program and add link Commit c64779e24e88("selftests/bpf: Merge most of test_btf into test_progs") renamed the BTF selftest from 'test_btf.c' to 'prog_tests/btf.c'. Signed-off-by: Rong Tao Signed-off-by: Daniel Borkmann Acked-by: David Vernet Link: https://lore.kernel.org/bpf/tencent_1FA6904156E8E599CAE4ABDBE80F22830106@qq.com --- diff --git a/Documentation/bpf/btf.rst b/Documentation/bpf/btf.rst index cf8722f..7cd7c54 100644 --- a/Documentation/bpf/btf.rst +++ b/Documentation/bpf/btf.rst @@ -1062,4 +1062,9 @@ format.:: 7. Testing ========== -Kernel bpf selftest `test_btf.c` provides extensive set of BTF-related tests. +The kernel BPF selftest `tools/testing/selftests/bpf/prog_tests/btf.c`_ +provides an extensive set of BTF-related tests. + +.. Links +.. _tools/testing/selftests/bpf/prog_tests/btf.c: + https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/tools/testing/selftests/bpf/prog_tests/btf.c