[J][UNSTABLE][PATCH 0/7] Upgrade from DWARF4 to DWARF5

Dimitri John Ledkov dimitri.ledkov at canonical.com
Mon Feb 7 15:15:09 UTC 2022


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

-- 
2.32.0




More information about the kernel-team mailing list