This patchset fixes the logic of determining bitfield_offsets and initial bit_offset when using BTF type information. It eliminates all the remaining discrepancies, when doing btfdiff on vmlinux image, module two instances of incorrectly reporting struct member type name when bitfield is the very first field in a struct, which is only happening when using DWARF data. Patch #1 makes btfdiff script easier to use during local development. Patch #2 fixes list of known base type names to handle clang-generated type descriptions better. Patch #3 fixes bitfield handling logic in btf_loader. Andrii Nakryiko (3): btfdiff: support specifying custom pahole location pahole: complete list of base type names btf_loader: fix bitfield fixup code btf_loader.c | 21 ++++++++++++++------- btfdiff | 5 +++-- dwarves.c | 3 +++ 3 files changed, 20 insertions(+), 9 deletions(-) -- 2.17.1