Skip to content

Commit

Permalink
rename out btf file
Browse files Browse the repository at this point in the history
Signed-off-by: Kornilios Kourtis <[email protected]>
  • Loading branch information
kkourt committed Aug 4, 2022
1 parent 809ab25 commit 3fe8447
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/generate-btf.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 3fe8447

Please sign in to comment.