btfdiff: Suppress alignment tags with BTF as well as with DWARF

Now that the alignment attributes are being inferred from BTF we need to
suppress it in btfdiff, as we can't infer for some cases, like when the
field is naturally aligned.

Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
This commit is contained in:
Arnaldo Carvalho de Melo 2021-10-28 09:37:26 -03:00
parent 836c139fdf
commit cdd088c05c

View File

@ -33,6 +33,7 @@ ${pahole_bin} -F dwarf \
--show_private_classes $dwarf_input > $dwarf_output --show_private_classes $dwarf_input > $dwarf_output
${pahole_bin} -F btf \ ${pahole_bin} -F btf \
--sort \ --sort \
--suppress_aligned_attribute \
--suppress_packed \ --suppress_packed \
$btf_input > $btf_output $btf_input > $btf_output