From 3fe844778ba72f59664a344761ee395dd78dc653 Mon Sep 17 00:00:00 2001 From: Kornilios Kourtis Date: Thu, 4 Aug 2022 17:35:29 +0200 Subject: [PATCH] rename out btf file Signed-off-by: Kornilios Kourtis --- scripts/generate-btf.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/generate-btf.sh b/scripts/generate-btf.sh index 507ca888..76b848d5 100755 --- a/scripts/generate-btf.sh +++ b/scripts/generate-btf.sh @@ -13,7 +13,7 @@ bootdir="$dir/boot" for fname in $bootdir/vmlinux-*; do kernel=$(basename $fname) ver=$(echo $kernel | sed -e 's/vmlinux-//') - outfile="$bootdir/kernel-${ver}.btf" + outfile="$bootdir/btf-${ver}" rm -f $outfile pahole --btf_encode_detached=$outfile $fname echo "Generated $outfile"