From patchwork Mon Nov 21 14:02:39 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rong Tao X-Patchwork-Id: 13051006 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 CED6CC4332F for ; Mon, 21 Nov 2022 14:06:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230108AbiKUOGN (ORCPT ); Mon, 21 Nov 2022 09:06:13 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40586 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230207AbiKUOFr (ORCPT ); Mon, 21 Nov 2022 09:05:47 -0500 Received: from out162-62-58-216.mail.qq.com (out162-62-58-216.mail.qq.com [162.62.58.216]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4BA07140C3 for ; Mon, 21 Nov 2022 06:02:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foxmail.com; s=s201512; t=1669039364; bh=bn5ka49hAzqtQFFXjHtkHtPJpqlVkHmbnMnYIoTX4yA=; h=From:To:Cc:Subject:Date; b=Y/4JtOCxY0PP5v4pUKbFon5NbjAePU+1zqhOC3sfbhxxAxVHNWwFoAriFEviVliiQ Ew2dgciSlzHZd5jfnnDbAEBYqXsch2ZtBVdjENKzmYJQHpqaqEglRhjGDf3Du0daKb MoJ8BssB7P6byfDrRmyV2uFrP+S3B4vkoq6sfOkI= Received: from rtoax.. ([111.199.191.46]) by newxmesmtplogicsvrszc2-1.qq.com (NewEsmtp) with SMTP id A828046; Mon, 21 Nov 2022 22:02:40 +0800 X-QQ-mid: xmsmtpt1669039360t57sjgdme Message-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yRmiXKVk= 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 v3] docs/bpf: Update btf selftests program and add link Date: Mon, 21 Nov 2022 22:02:39 +0800 X-OQ-MSGID: <20221121140239.16469-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 --- 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