Skip to content

pahole cannot generate BTF from SLES 15 kernels #64

@brycekahle

Description

@brycekahle

SP4 doesn't need it because it has BTF embedded, but at least SP1, SP2, and SP3 are affected. See acmel/dwarves#10

You will see no output from pahole --btf-encode-detached.

Even simple queries fail:

$ pahole -C task_struct vmlinux-5.14.21-150400.22.1-default
WARNING: DW_TAG_partial_unit used, some types will not be considered!
         Probably this was optimized using a tool like 'dwz'
         A future version of pahole will support this.
pahole: type 'task_struct' not found

Even objdump doesn't understand it

$ objdump --dwarf=pubtypes vmlinux-5.14.21-150400.22.1-default

vmlinux-5.14.21-150400.22.1-default:     file format elf64-x86-64

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions