diff options
author | T.J. Mercier <tjmercier@google.com> | 2025-05-22 23:04:26 +0000 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2025-05-27 09:51:25 -0700 |
commit | 76ea95534995adde1aa3cb1aa97ef33f50a617a9 (patch) | |
tree | 4105fd1476a851860c78c01ceed32daea16d8e28 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 89f9dba365e1b85caef556d28654c6d336629eef (diff) |
bpf: Add dmabuf iterator
The dmabuf iterator traverses the list of all DMA buffers.
DMA buffers are refcounted through their associated struct file. A
reference is taken on each buffer as the list is iterated to ensure each
buffer persists for the duration of the bpf program execution without
holding the list mutex.
Signed-off-by: T.J. Mercier <tjmercier@google.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Acked-by: Song Liu <song@kernel.org>
Link: https://lore.kernel.org/r/20250522230429.941193-3-tjmercier@google.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions