mirror of
https://github.com/torvalds/linux.git
synced 2026-04-18 06:44:00 -04:00
scripts/gen-btf.sh: Reduce log verbosity
Remove info messages from gen-btf.sh, as they are unnecessarily detailed and sometimes inaccurate [1]. Verbose log can be produced by passing V=1 to make, which will set -x for the shell. [1] https://lore.kernel.org/bpf/CAADnVQ+biTSDaNtoL=ct9XtBJiXYMUqGYLqu604C3D8N+8YH9A@mail.gmail.com/ Suggested-by: Alexei Starovoitov <ast@kernel.org> Signed-off-by: Ihor Solodrai <ihor.solodrai@linux.dev> Link: https://lore.kernel.org/r/20251231183929.65668-1-ihor.solodrai@linux.dev Signed-off-by: Alexei Starovoitov <ast@kernel.org>
This commit is contained in:
committed by
Alexei Starovoitov
parent
1a8fa7faf4
commit
453dece55b
@@ -205,6 +205,7 @@ if is_enabled CONFIG_KALLSYMS || is_enabled CONFIG_DEBUG_INFO_BTF; then
|
||||
fi
|
||||
|
||||
if is_enabled CONFIG_DEBUG_INFO_BTF; then
|
||||
info BTF .tmp_vmlinux1
|
||||
if ! ${srctree}/scripts/gen-btf.sh .tmp_vmlinux1; then
|
||||
echo >&2 "Failed to generate BTF for vmlinux"
|
||||
echo >&2 "Try to disable CONFIG_DEBUG_INFO_BTF"
|
||||
@@ -265,7 +266,7 @@ fi
|
||||
vmlinux_link "${VMLINUX}"
|
||||
|
||||
if is_enabled CONFIG_DEBUG_INFO_BTF; then
|
||||
info OBJCOPY ${btfids_vmlinux}
|
||||
info BTFIDS ${VMLINUX}
|
||||
${RESOLVE_BTFIDS} --patch_btfids ${btfids_vmlinux} ${VMLINUX}
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user