lkml.org 
[lkml]   [2022]   [Nov]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH bpf-next] docs/bpf: Update btf selftests program and add link
On Mon, Nov 21, 2022 at 10:07:34AM +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>
> ---

Please send this out as a v2 patch, as described in [0].

[0]: https://www.kernel.org/doc/html/latest/process/submitting-patches.html

> 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..dca0b0e9dd35 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.
> +Kernel bpf selftest `tools/testing/selftests/bpf/prog_tests/btf.c`_ provides

You added the hyperlink, but don't seem to have applied my other
suggestions. Please do so in v2.

> +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
>

\
 
 \ /
  Last update: 2022-11-21 08:31    [W:0.065 / U:0.548 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site