Commit 2948f9da authored by T.J. Mercier's avatar T.J. Mercier
Browse files

UPSTREAM: bpf: Add open coded dmabuf iterator



This open coded iterator allows for more flexibility when creating BPF
programs. It can support output in formats other than text. With an open
coded iterator, a single BPF program can traverse multiple kernel data
structures (now including dmabufs), allowing for more efficient analysis
of kernel data compared to multiple reads from procfs, sysfs, or
multiple traditional BPF iterator invocations.

Signed-off-by: default avatarT.J. Mercier <tjmercier@google.com>
Acked-by: default avatarChristian König <christian.koenig@amd.com>
Acked-by: default avatarSong Liu <song@kernel.org>
Link: https://lore.kernel.org/r/20250522230429.941193-4-tjmercier@google.com


Signed-off-by: default avatarAlexei Starovoitov <ast@kernel.org>
(cherry picked from commit 6eab7ac7)
Bug: 442852262
Signed-off-by: default avatarT.J. Mercier <tjmercier@google.com>
Change-Id: I95e1eb95daa516858cf69c581edb7f5b1d3637c7
parent e6c89908
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment