From f26da417511f0fb85d5de83eddcd2b27848e927a Mon Sep 17 00:00:00 2001 From: Paul Menzel Date: Mon, 14 Apr 2025 16:36:39 +0200 Subject: [PATCH] pahole: Add version 1.30 pahole is needed to build the BTF debug info for the Linux kernel. BTF (BPF Type Format) is the metadata format which encodes the debug info related to BPF program/map. [Description](https://git.kernel.org/pub/scm/devel/pahole/pahole.git/tree/man-pages/pahole.1): > pahole - Shows, manipulates data structure layout and pretty prints raw data. > > pahole shows data structure layouts encoded in debugging information formats, > DWARF, CTF and BTF being supported. > > This is useful for, among other things: optimizing important data structures > by reducing its size, figuring out what is the field sitting at an offset from > the start of a data structure, investigating ABI changes and more generally > understanding a new codebase you have to work with. https://git.kernel.org/pub/scm/devel/pahole/pahole.git/ --- pahole.be0 | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100755 pahole.be0 diff --git a/pahole.be0 b/pahole.be0 new file mode 100755 index 000000000..77ea88033 --- /dev/null +++ b/pahole.be0 @@ -0,0 +1,35 @@ +#!/usr/bin/env beesh + +# BEE_VERSION pahole-1.30-0 + +SRCURL[0]="https://git.kernel.org/pub/scm/devel/pahole/pahole.git/snapshot/pahole-${PKGVERSION}.tar.gz" + +# PATCHURL+=() + +# build_in_sourcedir + +# sourcesubdir_append src + +#mee_extract() { +# bee_extract "${@}" +#} + +#mee_patch() { +# bee_patch "${@}" +#} + +#mee_configure() { +# bee_configure +#} + +#mee_build() { +# bee_build +#} + +#mee_install() { +# bee_install +#} + +#mee_install_post() { +# exit +#}