[bpf-next] docs/bpf: Update btf test programe code

Message ID tencent_7F84D04F96EBE594CAD5EBD12815A2B00106@qq.com
State New
Headers
Series [bpf-next] docs/bpf: Update btf test programe code |

Commit Message

Rong Tao Nov. 20, 2022, 7:57 a.m. UTC
  From: Rong Tao <rongtao@cestc.cn>

commit c64779e24e88("selftests/bpf: Merge most of test_btf into
test_progs") rename selftests/bpf btf test from 'test_btf.c' to
'prog_tests/btf.c'.

Signed-off-by: Rong Tao <rongtao@cestc.cn>
---
 Documentation/bpf/btf.rst | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
  

Comments

David Vernet Nov. 20, 2022, 5:29 p.m. UTC | #1
On Sun, Nov 20, 2022 at 03:57:51PM +0800, Rong Tao wrote:
> From: Rong Tao <rongtao@cestc.cn>
> 
> commit c64779e24e88("selftests/bpf: Merge most of test_btf into
> test_progs") rename selftests/bpf btf test from 'test_btf.c' to
> 'prog_tests/btf.c'.
> 
> Signed-off-by: Rong Tao <rongtao@cestc.cn>
> ---
>  Documentation/bpf/btf.rst | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/Documentation/bpf/btf.rst b/Documentation/bpf/btf.rst
> index cf8722f96090..59ccd9bad1e0 100644
> --- a/Documentation/bpf/btf.rst
> +++ b/Documentation/bpf/btf.rst
> @@ -1062,4 +1062,5 @@ format.::
>  7. Testing
>  ==========
>  
> -Kernel bpf selftest `test_btf.c` provides extensive set of BTF-related tests.
> +Kernel bpf selftest `prog_tests/btf.c` provides extensive set of BTF-related

s/Kernel bpf selftest/The kernel BPF selftest

s/provide extensive/provides an extensive

> +tests.

Thanks for adjusting this. Could you please mirror what prog_lsm.rst
does [0], and add a link to the file in the linux.git repo?

[0]: https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next.git/tree/Documentation/bpf/prog_lsm.rst#n134

> -- 
> 2.38.1
>
  

Patch

diff --git a/Documentation/bpf/btf.rst b/Documentation/bpf/btf.rst
index cf8722f96090..59ccd9bad1e0 100644
--- a/Documentation/bpf/btf.rst
+++ b/Documentation/bpf/btf.rst
@@ -1062,4 +1062,5 @@  format.::
 7. Testing
 ==========
 
-Kernel bpf selftest `test_btf.c` provides extensive set of BTF-related tests.
+Kernel bpf selftest `prog_tests/btf.c` provides extensive set of BTF-related
+tests.