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"