Re: [PATCH bpf-next v3 0/2] bpftool: Fix sparse CPU IDs
From: patchwork-bot+netdevbpf
Date: Thu Sep 24 2026 - 06:27:34 EST
Hello:
This series was applied to bpf/bpf-next.git (master)
by Kumar Kartikeya Dwivedi <memxor@xxxxxxxxx>:
On Wed, 23 Sep 2026 09:42:41 +0900 you wrote:
> bpftool currently assumes that possible CPU IDs are dense. This is not
> true when the possible CPU mask itself is sparse, such as 0,2-3. In that
> case, per-CPU map output labels and prog profile event-array keys can
> refer to the wrong logical CPUs.
>
> The first patch keeps dense per-CPU buffer slots separate from logical CPU
> IDs when printing per-CPU map values. The parsed CPU count is passed
> together with the logical CPU IDs so that output labels and loop bounds use
> the same possible-CPU mask.
>
> [...]
Here is the summary with links:
- [bpf-next,v3,1/2] bpftool: Fix CPU IDs in per-CPU map output
https://git.kernel.org/bpf/bpf-next/c/dbf8cef936c7
- [bpf-next,v3,2/2] bpftool: Fix sparse CPU IDs in prog profile
https://git.kernel.org/bpf/bpf-next/c/edc071d7b3aa
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html