Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
gcmoreira opened this issue Sep 12, 2022 · 1 comment
Open

Comments

@gcmoreira
Copy link

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
@acmel
Copy link
Owner

acmel commented Oct 17, 2022

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

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants