From 278b64c3eee015f3497d39d66c9b812949531c51 Mon Sep 17 00:00:00 2001 From: Arnaldo Carvalho de Melo Date: Thu, 17 Jan 2019 10:07:13 -0300 Subject: [PATCH] btfdiff: Use diff's -p option to show the struct/union To help in looking up the change and figure out its reason. Signed-off-by: Arnaldo Carvalho de Melo --- btfdiff | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/btfdiff b/btfdiff index 54aa49f..a6cb1a4 100755 --- a/btfdiff +++ b/btfdiff @@ -15,7 +15,7 @@ dwarf_output=$(mktemp /tmp/btfdiff.XXXXXX) pahole -F dwarf --flat_arrays $file > $dwarf_output pahole -F btf $file > $btf_output -diff -u $dwarf_output $btf_output +diff -up $dwarf_output $btf_output rm -f $btf_output $dwarf_output exit 0