From cdd088c05cfed082f8e17c3e1121b3a204f79283 Mon Sep 17 00:00:00 2001 From: Arnaldo Carvalho de Melo Date: Thu, 28 Oct 2021 09:37:26 -0300 Subject: [PATCH] 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 --- btfdiff | 1 + 1 file changed, 1 insertion(+) diff --git a/btfdiff b/btfdiff index 7754363..cbdf652 100755 --- a/btfdiff +++ b/btfdiff @@ -33,6 +33,7 @@ ${pahole_bin} -F dwarf \ --show_private_classes $dwarf_input > $dwarf_output ${pahole_bin} -F btf \ --sort \ + --suppress_aligned_attribute \ --suppress_packed \ $btf_input > $btf_output