dwarves icon indicating copy to clipboard operation
dwarves copied to clipboard

pahole --btf_encode_detached doesn't export all the global variables

Open gcmoreira opened this issue 3 years ago • 1 comments

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

gcmoreira avatar Sep 12 '22 01:09 gcmoreira

It doesn't, see this thread for a discussion about including them all:

https://lore.kernel.org/all/[email protected]/T/#u

acmel avatar Oct 17 '22 13:10 acmel