From patchwork Mon Feb 7 15:15:09 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dimitri John Ledkov X-Patchwork-Id: 1589357 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=canonical.com header.i=@canonical.com header.a=rsa-sha256 header.s=20210705 header.b=bQwKLvhf; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.ubuntu.com (client-ip=91.189.94.19; helo=huckleberry.canonical.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=) Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4JsqTH5yxYz9s5B for ; Tue, 8 Feb 2022 02:15:31 +1100 (AEDT) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.86_2) (envelope-from ) id 1nH5jf-00038z-Fn; Mon, 07 Feb 2022 15:15:23 +0000 Received: from smtp-relay-internal-0.internal ([10.131.114.225] helo=smtp-relay-internal-0.canonical.com) by huckleberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1nH5je-00038l-Iw for kernel-team@lists.ubuntu.com; Mon, 07 Feb 2022 15:15:22 +0000 Received: from mail-ed1-f70.google.com (mail-ed1-f70.google.com [209.85.208.70]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-0.canonical.com (Postfix) with ESMTPS id 6CB573F199 for ; Mon, 7 Feb 2022 15:15:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1644246922; bh=CNXTbyZ7QFD38/BpljAbholxEM0097mPFdHnCx9gbtQ=; h=From:To:Subject:Date:Message-Id:MIME-Version; b=bQwKLvhfNZOw0WCMjYIcxlp8LVhxmwPBqoMf2Vc4IcDGAqiIr0T+jSv1iwaAfg6yK QhlUhVZo9qf4TNVmywliikZS9Y5dEtZjFGQfu3dYa8z8YrKiREHwrtp3x71AWi9ufq 8FRM3JYloWqrQ9tW39fZQqkdRXKYiBPAWLx5NuFFAcwxND4szoufze7Bu6FZVesWuM 76UTvUKL+KfeiIhoTt799MAlCU/SMQvncOxAh8Tyddo7FbygXUY0BXoHnlGCtCBg13 RT34srxwnLKy0c05ohLFVv5dQIGZHSYvUutPGYvFwIpAuYUyO8R2BmK41XOpdO+K0k TudXGLyIsJwmw== Received: by mail-ed1-f70.google.com with SMTP id n7-20020a05640205c700b0040b7be76147so8015594edx.10 for ; Mon, 07 Feb 2022 07:15:22 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=CNXTbyZ7QFD38/BpljAbholxEM0097mPFdHnCx9gbtQ=; b=bCQ1Wp/a3QGLMiBE1+NZZMclzhPAlr7FszPaYUCG+dRYfF1m4RKmhSoO6/7LeuJj9K okLf8jFM7jRxJa+GHiXQU4gEeirDRlfisUQnFaJ45LKjeAn0rzSEX9UExM0nbZCeJCTY bUqlYSN/k5vC9uC1brMP5pxMQKq14+yD0laCuKyqrdn4og2VIbzi+PKWCqskGlrxFXfR 5VmO25Tu8txdHc8Pf9DTtQY5f2BPK3AaRGroPExH1Qu+Kff4DlMK0GGpYX6PF+3PKX4I GlC86rgJ5odUrjLqaCFx8aeAI21IsVU1bAoYIobqH6IIPj3VSVaFblbKkDb1f+fmiPLT DdGQ== X-Gm-Message-State: AOAM531MbPAAwpQkS2+ro1ESmtCw92QGGxdsx7OuPVxHEgWlCom7OGgd Q8IFB+bF58YueLYCST+wLPEghaNAU+zkaKu2Rhv58rP1vrhpJH8mEnLPVIMbZI+tFTcfnR8kOMa 5oJjxQxfXdQhIJWtTxtfcf1Aq5nONl8DCZl1+iqiyBg== X-Received: by 2002:a05:6402:37a:: with SMTP id s26mr14846745edw.400.1644246921899; Mon, 07 Feb 2022 07:15:21 -0800 (PST) X-Google-Smtp-Source: ABdhPJx/+8EBokNO7FAJ86Xc+OEsgJlNTBSgKoP4YTTC0+x+PxYc9uQoZLkHAmfX3V/rgtqzy/t/UQ== X-Received: by 2002:a05:6402:37a:: with SMTP id s26mr14846721edw.400.1644246921628; Mon, 07 Feb 2022 07:15:21 -0800 (PST) Received: from localhost ([2001:67c:1560:8007::aac:c15c]) by smtp.gmail.com with ESMTPSA id pg20sm756017ejb.50.2022.02.07.07.15.21 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 07 Feb 2022 07:15:21 -0800 (PST) From: Dimitri John Ledkov To: kernel-team@lists.ubuntu.com Subject: [J][UNSTABLE][PATCH 0/7] Upgrade from DWARF4 to DWARF5 Date: Mon, 7 Feb 2022 15:15:09 +0000 Message-Id: <20220207151516.211675-1-dimitri.ledkov@canonical.com> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" Cherry-pick commits from v5.16-rc1, and bpf-next which allow enabling DWARF5 simultaniously with BPF. This results in ~10% reduction in Install-Size of the debug package. The required versions of compilers and pahole to support DWARF5 are available in at least Focal and up. Dimitri John Ledkov (1): UBUNTU: [Config] upgrade debug symbols from DWARF4 to DWARF5 Jiri Olsa (1): kbuild: Unify options for BTF generation for vmlinux and modules Nathan Chancellor (5): MAINTAINERS: Add scripts/pahole-flags.sh to BPF section kbuild: Add CONFIG_PAHOLE_VERSION scripts/pahole-flags.sh: Use pahole-version.sh lib/Kconfig.debug: Use CONFIG_PAHOLE_VERSION lib/Kconfig.debug: Allow BTF + DWARF5 with pahole 1.21+ MAINTAINERS | 2 ++ Makefile | 3 +++ debian.master/config/annotations | 3 +-- debian.master/config/config.common.ubuntu | 5 +++-- init/Kconfig | 4 ++++ lib/Kconfig.debug | 4 ++-- scripts/Makefile.modfinal | 2 +- scripts/link-vmlinux.sh | 11 +---------- scripts/pahole-flags.sh | 20 ++++++++++++++++++++ scripts/pahole-version.sh | 13 +++++++++++++ 10 files changed, 50 insertions(+), 17 deletions(-) create mode 100755 scripts/pahole-flags.sh create mode 100755 scripts/pahole-version.sh Acked-by: Andrea Righi