From e3dc1e491460d5b714efbc89cc5713251fb872f2 Mon Sep 17 00:00:00 2001 From: Arnaldo Carvalho de Melo Date: Tue, 6 Jul 2021 17:04:15 -0300 Subject: [PATCH] btfdiff: Use --sort for pretty printing from both BTF and DWARF $ btfdiff vmlinux $ As expected, no change, both sort to the same output, now lets add --jobs to the DWARF case. Signed-off-by: Arnaldo Carvalho de Melo --- btfdiff | 2 ++ 1 file changed, 2 insertions(+) diff --git a/btfdiff b/btfdiff index 9211d011..71d3dbf5 100755 --- a/btfdiff +++ b/btfdiff @@ -25,11 +25,13 @@ pahole_bin=${PAHOLE-"pahole"} ${pahole_bin} -F dwarf \ --flat_arrays \ + --sort \ --suppress_aligned_attribute \ --suppress_force_paddings \ --suppress_packed \ --show_private_classes $dwarf_input > $dwarf_output ${pahole_bin} -F btf \ + --sort \ --suppress_packed \ $btf_input > $btf_output