From patchwork Tue Nov 22 00:50:42 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rong Tao X-Patchwork-Id: 13051737 X-Patchwork-Delegate: bpf@iogearbox.net Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id D54BBC43217 for ; Tue, 22 Nov 2022 00:50:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229919AbiKVAuz (ORCPT ); Mon, 21 Nov 2022 19:50:55 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35994 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231843AbiKVAuy (ORCPT ); Mon, 21 Nov 2022 19:50:54 -0500 Received: from out162-62-57-252.mail.qq.com (out162-62-57-252.mail.qq.com [162.62.57.252]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CFAEA6D961 for ; Mon, 21 Nov 2022 16:50:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foxmail.com; s=s201512; t=1669078249; bh=r7bV6NQJ0Wvg7aEH2rmGraNpQaJqHjO8I3T/UZsCtQ0=; h=From:To:Cc:Subject:Date; b=KVhhElW2KkbyuGg9cMxGeRqhum4PUlhQQHt5S4GwshJzOO6MqYIr9uSCDtZ2AymtK EO3pC/QkdBoHMMHdBhkZIrpeqYPDtp2d3f4g2DoA9nc6vGcWcJJUcntAYibBO452lE kkm9obY7CEE4XkfEhjYPk5uS1YEh/QVnNPFUSBUM= Received: from rtoax.. ([111.199.191.46]) by newxmesmtplogicsvrszc5-0.qq.com (NewEsmtp) with SMTP id CAB98EC2; Tue, 22 Nov 2022 08:50:43 +0800 X-QQ-mid: xmsmtpt1669078243t4jp9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x6XJPZ9Lk8GQ YrO3zoUQ== From: Rong Tao To: void@manifault.com Cc: andrii@kernel.org, ast@kernel.org, bpf@vger.kernel.org, corbet@lwn.net, daniel@iogearbox.net, haoluo@google.com, john.fastabend@gmail.com, jolsa@kernel.org, kpsingh@kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, martin.lau@linux.dev, rongtao@cestc.cn, rtoax@foxmail.com, sdf@google.com, song@kernel.org, yhs@fb.com Subject: [PATCH bpf-next v4] docs/bpf: Update btf selftests program and add link Date: Tue, 22 Nov 2022 08:50:42 +0800 X-OQ-MSGID: <20221122005042.4712-1-rtoax@foxmail.com> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: bpf@vger.kernel.org X-Patchwork-Delegate: bpf@iogearbox.net From: Rong Tao 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 Acked-by: David Vernet --- v4: v3 -> v4 s/bpf/BPF v3: v2 -> v3 s/Kernel bpf selftest/The kernel BPF selftest s/provides extensive/provides an extensive https://lore.kernel.org/lkml/tencent_C597352AB3AF24A35A88CC06A3421E590B08@qq.com/ 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..7cd7c5415a99 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