Re: [PATCH bpf-next] bpftool: Enable libbpf logs when loading pid_iter in debug mode

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello:

This patch was applied to bpf/bpf-next.git (master)
by Alexei Starovoitov <ast@xxxxxxxxxx>:

On Wed, 20 Mar 2024 01:22:41 +0000 you wrote:
> When trying to load the pid_iter BPF program used to iterate over the
> PIDs of the processes holding file descriptors to BPF links, we would
> unconditionally silence libbpf in order to keep the output clean if the
> kernel does not support iterators and loading fails.
> 
> Although this is the desirable behaviour in most cases, this may hide
> bugs in the pid_iter program that prevent it from loading, and it makes
> it hard to debug such load failures, even in "debug" mode. Instead, it
> makes more sense to print libbpf's logs when we pass the -d|--debug flag
> to bpftool, so that users get the logs to investigate failures without
> having to edit bpftool's source code.
> 
> [...]

Here is the summary with links:
  - [bpf-next] bpftool: Enable libbpf logs when loading pid_iter in debug mode
    https://git.kernel.org/bpf/bpf-next/c/be24a895149b

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






[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux