dwarves
dwarves copied to clipboard
pahole --btf_encode_detached doesn't export all the global variables
Unless I'm missing something, it seems like pahole --btf_encode_detached doesn't export all the global variables
$ ../pahole_git/build/pglobal -v vmlinux-5.8.0-53-generic | sed '/^$/d' | wc -l
26843
$ ../pahole_git/build/pahole --btf_encode_detached vmlinux-5.8.0-53.btf vmlinux-5.8.0-53-generic
$ ../pahole_git/build/pglobal -v vmlinux-5.8.0-53.btf | sed '/^$/d' | wc -l
90
$ cd ../pahole_git
$ git rev-parse --short HEAD
de24234
It doesn't, see this thread for a discussion about including them all:
https://lore.kernel.org/all/[email protected]/T/#u