Message ID | 20220403161453.2113069-10-stijn@linux-ipv6.be |
---|---|
State | Accepted, archived |
Delegated to: | Stijn Tintel |
Headers | show
Return-Path: <openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=HhJIS6lC; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=linux-ipv6.be header.i=@linux-ipv6.be header.a=rsa-sha256 header.s=502B7754-045F-11E5-BBC5-64595FD46BE8 header.b=GLUCZqga; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.openwrt.org (client-ip=2607:7c80:54:e::133; helo=bombadil.infradead.org; envelope-from=openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org; receiver=<UNKNOWN>) Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4KWfHm20dxz9sFq for <incoming@patchwork.ozlabs.org>; Mon, 4 Apr 2022 02:19:32 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=i9QE1XfAoMLJUMpqNapMRRSI8qzYHoyFzdcfYGSu9cA=; b=HhJIS6lCsfB1lg 5q2kAdaX7r+t/ax0kWs6ik9NRhrS2eiGRUt4DAfS2ON+XLLL4y1jAKur/C31YQezZH5xh82CEwsu1 wbYowZMZw1lZ4TAt2fSHwWBlHrGttpVHV4ejJCntQhHWr2IQoXUj1d2uydkVlm6W21bEJr3fAR/ir 1ybJYGTKqZRKLWN8Sd+JJKRYZc4Bow5u7Xzg4SkWotBspergYvMmBO87b79s8xUGtnnMYbYFf1/rl 2k4uh6YjN+EAkEahAXM+Xm2mIGhAfXObObxhdC0aNTAPkvezAw6nayyxhmzM7z2qOsplQQFuUJJvm pwKuTkO9BEN0h18n97VA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nb2uw-00Bqw2-Ki; Sun, 03 Apr 2022 16:17:31 +0000 Received: from mail.tintel.eu ([51.83.127.189]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nb2sg-00Bq7G-V1 for openwrt-devel@lists.openwrt.org; Sun, 03 Apr 2022 16:15:12 +0000 Received: from localhost (localhost [IPv6:::1]) by mail.tintel.eu (Postfix) with ESMTP id 5280A447BBFB; Sun, 3 Apr 2022 18:15:02 +0200 (CEST) Received: from mail.tintel.eu ([IPv6:::1]) by localhost (mail.tintel.eu [IPv6:::1]) (amavisd-new, port 10032) with ESMTP id nnEMu0I-UQOi; Sun, 3 Apr 2022 18:15:02 +0200 (CEST) Received: from localhost (localhost [IPv6:::1]) by mail.tintel.eu (Postfix) with ESMTP id EB353453E50A; Sun, 3 Apr 2022 18:15:01 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.10.3 mail.tintel.eu EB353453E50A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-ipv6.be; s=502B7754-045F-11E5-BBC5-64595FD46BE8; t=1649002502; bh=FwKBDe5sOsGbxN8vW+re9o9PjDObg64S7RCmtLawTOE=; h=From:To:Date:Message-Id:MIME-Version; b=GLUCZqgaeSgwua/NJItA7geGAbTjboBk1alCzlVV7RbbygohaPkG5grzoCBecr7g8 qnpPEEG1hHKPFEgeE8UlKD1qVSr2d6pAu4pLAO5Em9SBVfI2vbbS56r3C0yrS/YXuX t6mUX8kRxM2EZakSWI3XPuI4chpX3qoqnrIqXnuo= X-Virus-Scanned: amavisd-new at mail.tintel.eu Received: from mail.tintel.eu ([IPv6:::1]) by localhost (mail.tintel.eu [IPv6:::1]) (amavisd-new, port 10026) with ESMTP id Bw8gL5a9swSk; Sun, 3 Apr 2022 18:15:01 +0200 (CEST) Received: from taz.sof.bg.adlevio.net (unknown [IPv6:2001:67c:21bc:20::10]) by mail.tintel.eu (Postfix) with ESMTPS id B0514447BBFB; Sun, 3 Apr 2022 18:15:01 +0200 (CEST) From: Stijn Tintel <stijn@linux-ipv6.be> To: openwrt-devel@lists.openwrt.org Cc: nbd@nbd.name, ansuelsmth@gmail.com, itugrok@yahoo.com, lucian.cristian@gmail.com, rosenp@gmail.com Subject: [PATCH v2 09/11] build: add option KERNEL_DEBUG_INFO_BTF Date: Sun, 3 Apr 2022 19:14:51 +0300 Message-Id: <20220403161453.2113069-10-stijn@linux-ipv6.be> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220403161453.2113069-1-stijn@linux-ipv6.be> References: <20220403161453.2113069-1-stijn@linux-ipv6.be> MIME-Version: 1.0 X-Rspamd-Pre-Result: action=no action; module=multimap; Matched map: IP_WHITELIST X-Rspamd-Queue-Id: B0514447BBFB X-Rspamd-Pre-Result: action=no action; module=multimap; Matched map: IP_WHITELIST X-Spamd-Result: default: False [0.00 / 15.00]; TAGGED_RCPT(0.00)[]; ASN(0.00)[asn:200533, ipnet:2001:67c:21bc::/48, country:BG]; IP_WHITELIST(0.00)[2001:67c:21bc:20::10] X-Rspamd-Server: skulls X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220403_091511_209290_F026AB25 X-CRM114-Status: UNSURE ( 8.24 ) X-CRM114-Notice: Please train this message. X-Spam-Score: 0.2 (/) X-Spam-Report: Spam detection software, running on the system "bombadil.infradead.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: From: Tony Ambardar <itugrok@yahoo.com> Generate BTF (BPF Type Format) information from DWARF debug info. This is embedded in the kernel and exported via sysfs as /sys/kernel/btf/vmlinux. BTF data enhances kernel portability and introspecti [...] Content analysis details: (0.2 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid 0.1 DKIM_INVALID DKIM or DK signature exists, but is not valid X-BeenThere: openwrt-devel@lists.openwrt.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: OpenWrt Development List <openwrt-devel.lists.openwrt.org> List-Unsubscribe: <https://lists.openwrt.org/mailman/options/openwrt-devel>, <mailto:openwrt-devel-request@lists.openwrt.org?subject=unsubscribe> List-Archive: <http://lists.openwrt.org/pipermail/openwrt-devel/> List-Post: <mailto:openwrt-devel@lists.openwrt.org> List-Help: <mailto:openwrt-devel-request@lists.openwrt.org?subject=help> List-Subscribe: <https://lists.openwrt.org/mailman/listinfo/openwrt-devel>, <mailto:openwrt-devel-request@lists.openwrt.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "openwrt-devel" <openwrt-devel-bounces@lists.openwrt.org> Errors-To: openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org |
Series |
BPF events and Type Format support
|
expand
|
diff --git a/config/Config-kernel.in b/config/Config-kernel.in index a9f4172d7f..a5e9ef477b 100644 --- a/config/Config-kernel.in +++ b/config/Config-kernel.in @@ -368,6 +368,20 @@ config KERNEL_DEBUG_INFO help This will compile your kernel and modules with debug information. +config KERNEL_DEBUG_INFO_BTF + + bool "Enable additional BTF type information" + default n + depends on !HOST_OS_MACOS + depends on KERNEL_DEBUG_INFO && !KERNEL_DEBUG_INFO_REDUCED + select DWARVES + help + Generate BPF Type Format (BTF) information from DWARF debug info. + Turning this on expects presence of pahole tool, which will convert + DWARF type info into equivalent deduplicated BTF type info. + + Required to run BPF CO-RE applications. + config KERNEL_DEBUG_INFO_REDUCED bool "Reduce debugging information" default y