Eduard Zingerman <eddyz87@xxxxxxxxx> writes: [...] >> Once I disabled it and did >> bpftool btf dump file ./bpf_testmod.ko --base-btf .../vmlinux format c >> the task_struct from vmlinux.h and from testmod.h became exactly the same. >> So it sounds like the 3rd issue :) >> bpftool dump of distilled btf needs work. > > Mystery upon mystery. > Here is a continuation of the last one. > This is raw BTF for .ko: > > [509] STRUCT 'task_struct' size=10496 vlen=268 > ... > 'rt_priority' type_id=3 bits_offset=960 > ... > Nah, this refers to id in the distilled base. Sorry for the noise. [...]