Skip to content

Commit 21dcffc

Browse files
xnoxksacilotto
authored andcommitted
UBUNTU: [Config] Enable CONFIG_DEBUG_INFO_BTF on all arches
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>
1 parent 336711c commit 21dcffc

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

debian.master/config/annotations

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10594,12 +10594,11 @@ CONFIG_DEBUG_INFO policy<{'amd64': 'y', 'arm64': '
1059410594
CONFIG_DEBUG_INFO_REDUCED policy<{'amd64': 'n', 'arm64': 'n', 'armhf': 'n', 'i386': 'n', 'ppc64el': 'n', 's390x': 'n'}>
1059510595
CONFIG_DEBUG_INFO_SPLIT policy<{'amd64': 'n', 'arm64': 'n', 'armhf': 'n', 'i386': 'n', 'ppc64el': 'n', 's390x': 'n'}>
1059610596
CONFIG_DEBUG_INFO_DWARF4 policy<{'amd64': 'y', 'arm64': 'y', 'armhf': 'y', 'i386': 'y', 'ppc64el': 'y', 's390x': 'y'}>
10597-
CONFIG_DEBUG_INFO_BTF policy<{'amd64': 'n', 'arm64': 'n', 'armhf': 'n', 'i386': 'n', 'ppc64el': 'n', 's390x': 'n'}>
10597+
CONFIG_DEBUG_INFO_BTF policy<{'amd64': 'y', 'arm64': 'y', 'armhf': 'y', 'i386': 'y', 'ppc64el': 'y', 's390x': 'y'}>
1059810598
CONFIG_GDB_SCRIPTS policy<{'amd64': 'y', 'arm64': 'y', 'armhf': 'y', 'i386': 'y', 'ppc64el': 'y', 's390x': 'y'}>
1059910599
#
1060010600
CONFIG_DEBUG_INFO mark<ENFORCED> note<required for debug packages>
1060110601
CONFIG_DEBUG_INFO_SPLIT note<LP:1413646 and LP:1413664>
10602-
CONFIG_DEBUG_INFO_BTF flag<REVIEW> note<Might be useful for bpf, reuquires pahole to build>
1060310602

1060410603
# Menu: Kernel hacking >> CoreSight Tracing Support
1060510604
CONFIG_CORESIGHT policy<{'arm64': 'n', 'armhf': 'n'}>

debian.master/config/config.common.ubuntu

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2319,7 +2319,7 @@ CONFIG_DEBUG_FS=y
23192319
# CONFIG_DEBUG_HIGHMEM is not set
23202320
# CONFIG_DEBUG_HOTPLUG_CPU0 is not set
23212321
CONFIG_DEBUG_INFO=y
2322-
# CONFIG_DEBUG_INFO_BTF is not set
2322+
CONFIG_DEBUG_INFO_BTF=y
23232323
CONFIG_DEBUG_INFO_DWARF4=y
23242324
# CONFIG_DEBUG_INFO_REDUCED is not set
23252325
# CONFIG_DEBUG_INFO_SPLIT is not set

debian.master/control.stub.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ Build-Depends:
3838
dkms <!stage1>,
3939
curl <!stage1>,
4040
lz4 [amd64 s390x] <!stage1>,
41+
dwarves [amd64 arm64 armhf ppc64el s390x] <!stage1>,
4142
Build-Depends-Indep:
4243
xmlto <!stage1>,
4344
docbook-utils <!stage1>,

0 commit comments

Comments
 (0)