libbpf: Correct debug message in btf__load_vmlinux_btf
PATCH 1/1 libbpf: Correct debug message in btf__load_vmlinux_btf
In the function btf__load_vmlinux_btf, the debug message incorrectly refers to 'path' instead of 'sysfs_btf_path'.
Signed-off-by Chen Shen <[email protected]>
--- tools/lib/bpf/btf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tools/lib/bpf/btf.c +1 -1
@@ -4968,7 +4968,7 @@ struct btf *btf__load_vmlinux_btf(void)pr_warn ("failed to read kernel BTF from '%s': %d\n" , sysfs_btf_path, err);return libbpf_err_ptr (err); } -pr_debug ("loaded kernel BTF from '%s'\n" , path); +pr_debug ("loaded kernel BTF from '%s'\n" , sysfs_btf_path);return btf; }
Signature · 1 line
2.25.1
Quoted 4 lines · Chen Shen
In the function
btf__load_vmlinux_btf, the debug message incorrectly refers to 'path' instead of 'sysfs_btf_path'.Signed-off-by Chen Shen <[email protected]>
Acked-by Yonghong Song <[email protected]>
This patch was applied to bpf/bpf-next.git (master) by Daniel Borkmann <[email protected]>:
Hello:
This patch was applied to bpf/bpf-next.git (master) by Daniel Borkmann <[email protected]>:
Quoted 7 lines · On Sat, 2 Mar 2024 14:22:18 +0800 you wrote:
In the function
btf__load_vmlinux_btf, the debug message incorrectly refers to 'path' instead of 'sysfs_btf_path'.Signed-off-by Chen Shen <[email protected]>--- tools/lib/bpf/btf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Here is the summary with links:
- libbpf: Correct debug message in btf__load_vmlinux_btf
https://git.kernel.org/bpf/bpf-next/c/25703adf45f8
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html