]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commitdiff
UBUNTU: [Config] Enable CONFIG_DEBUG_INFO_BTF on all arches
authorDimitri John Ledkov <dimitri.ledkov@canonical.com>
Mon, 15 Nov 2021 16:07:00 +0000 (17:07 +0100)
committerKleber Sacilotto de Souza <kleber.souza@canonical.com>
Thu, 25 Nov 2021 11:12:15 +0000 (12:12 +0100)
New backport of pahole is now available in focal & bionic (and
builders extra ppa) that works with new enough kernels, thus it is now
possible to enable CONFIG_DEBUG_INFO_BTF on all arches for the v5.4
based kernels.

BugLink: https://bugs.launchpad.net/bugs/1945632
Signed-off-by: Dimitri John Ledkov <dimitri.ledkov@canonical.com>
Acked-by: Tim Gardner <tim.gardner@canonical.com>
Acked-by: Stefan Bader <stefan.bader@canonical.com>
Signed-off-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
debian.master/config/annotations
debian.master/config/config.common.ubuntu
debian.master/control.stub.in

index 03b21b4d88eb51603c649e912eb300ab811fff3d..f2ff168bf61a3d2357ff27aafd9ebb44c8622ada 100644 (file)
@@ -10594,12 +10594,11 @@ CONFIG_DEBUG_INFO                               policy<{'amd64': 'y', 'arm64': '
 CONFIG_DEBUG_INFO_REDUCED                       policy<{'amd64': 'n', 'arm64': 'n', 'armhf': 'n', 'i386': 'n', 'ppc64el': 'n', 's390x': 'n'}>
 CONFIG_DEBUG_INFO_SPLIT                         policy<{'amd64': 'n', 'arm64': 'n', 'armhf': 'n', 'i386': 'n', 'ppc64el': 'n', 's390x': 'n'}>
 CONFIG_DEBUG_INFO_DWARF4                        policy<{'amd64': 'y', 'arm64': 'y', 'armhf': 'y', 'i386': 'y', 'ppc64el': 'y', 's390x': 'y'}>
-CONFIG_DEBUG_INFO_BTF                           policy<{'amd64': 'n', 'arm64': 'n', 'armhf': 'n', 'i386': 'n', 'ppc64el': 'n', 's390x': 'n'}>
+CONFIG_DEBUG_INFO_BTF                           policy<{'amd64': 'y', 'arm64': 'y', 'armhf': 'y', 'i386': 'y', 'ppc64el': 'y', 's390x': 'y'}>
 CONFIG_GDB_SCRIPTS                              policy<{'amd64': 'y', 'arm64': 'y', 'armhf': 'y', 'i386': 'y', 'ppc64el': 'y', 's390x': 'y'}>
 #
 CONFIG_DEBUG_INFO                               mark<ENFORCED> note<required for debug packages>
 CONFIG_DEBUG_INFO_SPLIT                         note<LP:1413646 and LP:1413664>
-CONFIG_DEBUG_INFO_BTF                           flag<REVIEW> note<Might be useful for bpf, reuquires pahole to build>
 
 # Menu: Kernel hacking >> CoreSight Tracing Support
 CONFIG_CORESIGHT                                policy<{'arm64': 'n', 'armhf': 'n'}>
index bc171d7f0660235a4250cfab0cc1bcee1ffef0c4..ceb923eff02138538039ee23020e958b31ca06bf 100644 (file)
@@ -2319,7 +2319,7 @@ CONFIG_DEBUG_FS=y
 # CONFIG_DEBUG_HIGHMEM is not set
 # CONFIG_DEBUG_HOTPLUG_CPU0 is not set
 CONFIG_DEBUG_INFO=y
-# CONFIG_DEBUG_INFO_BTF is not set
+CONFIG_DEBUG_INFO_BTF=y
 CONFIG_DEBUG_INFO_DWARF4=y
 # CONFIG_DEBUG_INFO_REDUCED is not set
 # CONFIG_DEBUG_INFO_SPLIT is not set
index 47ddd5418a4580bfe0603c01ba8ffb69ac7739d0..a597bcaa4d7d39a7073aed38b93e4a9ee49a52c8 100644 (file)
@@ -38,6 +38,7 @@ Build-Depends:
  dkms <!stage1>,
  curl <!stage1>,
  lz4 [amd64 s390x] <!stage1>,
+ dwarves [amd64 arm64 armhf ppc64el s390x] <!stage1>,
 Build-Depends-Indep:
  xmlto <!stage1>,
  docbook-utils <!stage1>,