First, I am a huge fan of pahole (and friends). I volunteered to work on helping to edit the BTF spec for the IETF and so I've started to look more deeply at BTF and the tools. Second, I hope that what I am offering is being sent to the right place and is in the right format. I tried to follow what seems to be the "right thing" by looking at mailing list archives. This patch add supports to the btf_loader for subprogram (BTF_KIND_FUNC) linkages. For example, ``` $ cat a.c static int x() { return 5; } $ gcc -gbtf -g -O0 -c a.c $ ~/code/pahole/build/pfunct -Fbtf --compile a.o int x(void) /* linkage=static */ { return 0; } ``` Sincerely, Will Will Hawkins (1): btf_loader: Support linkages for BTF subprograms btf_loader.c | 8 ++++++++ 1 file changed, 8 insertions(+) -- 2.45.2