Skip to content

pahole: no percpu DATASEC in ARM64 vmlinux #44

Open
@dama219

Description

@dama219

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions