lkml.org 
[lkml]   [2024]   [Apr]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] samples: bpf: Add valid info for VMLINUX_BTF
From
Date
Hello:

This patch was applied to bpf/bpf-next.git (master)
by Andrii Nakryiko <andrii@kernel.org>:

On Mon, 29 Apr 2024 00:10:32 +0800 you wrote:
> When i use the command 'make M=samples/bpf' to compile samples/bpf code
> in ubuntu 22.04, the error info occured:
> Cannot find a vmlinux for VMLINUX_BTF at any of " /home/ubuntu/code/linux/vmlinux",
> build the kernel or set VMLINUX_BTF or VMLINUX_H variable
>
> Others often encounter this kind of issue, new kernel has the vmlinux, so we can
> set the path in error info which seems more intuitive, like:
> Cannot find a vmlinux for VMLINUX_BTF at any of " /home/ubuntu/code/linux/vmlinux",
> buiild the kernel or set VMLINUX_BTF like "VMLINUX_BTF=/sys/kernel/btf/vmlinux" or
> VMLINUX_H variable
>
> [...]

Here is the summary with links:
- samples: bpf: Add valid info for VMLINUX_BTF
https://git.kernel.org/bpf/bpf-next/c/397658ddc88c

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



\
 
 \ /
  Last update: 2024-05-27 18:08    [W:0.025 / U:0.044 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site