aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2021-10-28 09:37:26 -0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2021-10-28 09:37:26 -0300
commitcdd088c05cfed082f8e17c3e1121b3a204f79283 (patch)
treefd0c8359cc24ede813137a8741275e8a02ce7504
parent836c139fdf6f2b13ec2e5513df881272bb78aeb4 (diff)
downloadpahole-cdd088c05cfed082f8e17c3e1121b3a204f79283.tar.gz
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>
-rwxr-xr-xbtfdiff1
1 files changed, 1 insertions, 0 deletions
diff --git a/btfdiff b/btfdiff
index 77543630..cbdf6528 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