* [PATCH bpf-next v3] docs/bpf: Update btf selftests program and add link
@ 2022-11-21 14:02 Rong Tao
2022-11-21 15:06 ` David Vernet
0 siblings, 1 reply; 3+ messages in thread
From: Rong Tao @ 2022-11-21 14:02 UTC (permalink / raw)
To: void
Cc: andrii, ast, bpf, corbet, daniel, haoluo, john.fastabend, jolsa,
kpsingh, linux-doc, linux-kernel, martin.lau, rongtao, rtoax, sdf,
song, yhs
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>
---
v3: v2 -> v3
s/Kernel bpf selftest/The kernel BPF selftest
s/provides extensive/provides an extensive
v2: https://lore.kernel.org/lkml/tencent_114656E8259D0AEA2BDB6810E29241995006@qq.com/
v1: https://lore.kernel.org/lkml/tencent_7F84D04F96EBE594CAD5EBD12815A2B00106@qq.com/
---
Documentation/bpf/btf.rst | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/Documentation/bpf/btf.rst b/Documentation/bpf/btf.rst
index cf8722f96090..681416c86e81 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
--
2.38.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH bpf-next v3] docs/bpf: Update btf selftests program and add link
2022-11-21 14:02 [PATCH bpf-next v3] docs/bpf: Update btf selftests program and add link Rong Tao
@ 2022-11-21 15:06 ` David Vernet
2022-11-22 0:54 ` Rong Tao
0 siblings, 1 reply; 3+ messages in thread
From: David Vernet @ 2022-11-21 15:06 UTC (permalink / raw)
To: Rong Tao
Cc: andrii, ast, bpf, corbet, daniel, haoluo, john.fastabend, jolsa,
kpsingh, linux-doc, linux-kernel, martin.lau, rongtao, sdf, song,
yhs
On Mon, Nov 21, 2022 at 10:02:39PM +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>
> ---
> v3: v2 -> v3
> s/Kernel bpf selftest/The kernel BPF selftest
> s/provides extensive/provides an extensive
> v2: https://lore.kernel.org/lkml/tencent_114656E8259D0AEA2BDB6810E29241995006@qq.com/
> v1: https://lore.kernel.org/lkml/tencent_7F84D04F96EBE594CAD5EBD12815A2B00106@qq.com/
> ---
> Documentation/bpf/btf.rst | 7 ++++++-
> 1 file changed, 6 insertions(+), 1 deletion(-)
>
> diff --git a/Documentation/bpf/btf.rst b/Documentation/bpf/btf.rst
> index cf8722f96090..681416c86e81 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`_
s/bpf/BPF
> +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
> --
> 2.38.1
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Re: [PATCH bpf-next v3] docs/bpf: Update btf selftests program and add link
2022-11-21 15:06 ` David Vernet
@ 2022-11-22 0:54 ` Rong Tao
0 siblings, 0 replies; 3+ messages in thread
From: Rong Tao @ 2022-11-22 0:54 UTC (permalink / raw)
To: void
Cc: andrii, ast, bpf, corbet, daniel, haoluo, john.fastabend, jolsa,
kpsingh, linux-doc, linux-kernel, martin.lau, rongtao, rtoax, sdf,
song, yhs
Thanks, David. I forgot to modify the case of the BPF, be sure to check
carefully next time, thanks.
Fix this problem in v4:
https://lore.kernel.org/lkml/tencent_1FA6904156E8E599CAE4ABDBE80F22830106@qq.com/
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-11-22 0:55 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-21 14:02 [PATCH bpf-next v3] docs/bpf: Update btf selftests program and add link Rong Tao
2022-11-21 15:06 ` David Vernet
2022-11-22 0:54 ` Rong Tao
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).