aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/bpf
diff options
context:
space:
mode:
authorRong Tao <rongtao@cestc.cn>2022-11-22 08:50:42 +0800
committerDaniel Borkmann <daniel@iogearbox.net>2022-11-25 00:00:15 +0100
commitb74344cbede22fdfc1366348b3d576eac0131380 (patch)
treed2063861f0f8311caf52ab29164619af50b4f881 /Documentation/bpf
parentc6b0337f01205decb31ed5e90e5aa760ac2d5b41 (diff)
downloadlinux-b74344cbede22fdfc1366348b3d576eac0131380.tar.gz
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 <rongtao@cestc.cn> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Acked-by: David Vernet <void@manifault.com> Link: https://lore.kernel.org/bpf/tencent_1FA6904156E8E599CAE4ABDBE80F22830106@qq.com
Diffstat (limited to 'Documentation/bpf')
-rw-r--r--Documentation/bpf/btf.rst7
1 files changed, 6 insertions, 1 deletions
diff --git a/Documentation/bpf/btf.rst b/Documentation/bpf/btf.rst
index cf8722f960904f..7cd7c5415a9927 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