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: no percpu DATASEC in ARM64 vmlinux #44

Open
dama219 opened this issue Jul 21, 2023 · 0 comments
Open

pahole: no percpu DATASEC in ARM64 vmlinux #44

dama219 opened this issue Jul 21, 2023 · 0 comments

Comments

@dama219
Copy link

dama219 commented Jul 21, 2023

Hi,
My PC env is Ubuntu 18.04 and the pahole version is v1.21.
The linux kernel source code version is 5.10.120. When I compiled an kernel image for ARM64 , I found that there is no percpu DATASEC in the btf information of vmlinux.
image

I debugged the source code of pahole and made the following modifications:
image

After applying the above modification, vmlinux has percpu DATASEC.
image

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

1 participant