Skip to content

Commit

Permalink
btfdiff: Use --sort for pretty printing from both BTF and DWARF
Browse files Browse the repository at this point in the history
  $ 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 <[email protected]>
  • Loading branch information
acmel committed Jul 27, 2021
1 parent d4e519d commit e3dc1e4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions btfdiff
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit e3dc1e4

Please sign in to comment.