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 <acme@redhat.com>
This commit is contained in:
Arnaldo Carvalho de Melo 2021-07-06 17:04:15 -03:00
parent 3e1c7a2077
commit f95f783849
1 changed files with 2 additions and 0 deletions

View File

@ -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