diff options
author | Andrii Nakryiko <andrii@kernel.org> | 2025-02-26 12:56:06 -0800 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2025-03-15 11:48:24 -0700 |
commit | ee2fdd020fb117d8cb1de654957ca8522c55f2cb (patch) | |
tree | b940fc2f7b4a8850387cdb5d7e7aab7e0325a46b /scripts/gdb/linux/modules.py | |
parent | b0f2ee6077ef1e880aee4758638bd0325275abb5 (diff) | |
parent | 064e9aacfd70a7805eeb0fc9ec6e97247ea8bc4c (diff) |
Merge branch 'introduce-bpf_dynptr_copy-kfunc'
Mykyta Yatsenko says:
====================
introduce bpf_dynptr_copy kfunc
From: Mykyta Yatsenko <yatsenko@meta.com>
Introduce a new kfunc, bpf_dynptr_copy, which enables copying of
data from one dynptr to another. This functionality may be useful in
scenarios such as capturing XDP data to a ring buffer.
The patch set is split into 3 patches:
1. Refactor bpf_dynptr_read and bpf_dynptr_write by extracting code into
static functions, that allows calling them with no compiler warnings
2. Introduce bpf_dynptr_copy
3. Add tests for bpf_dynptr_copy
v2->v3:
* Implemented bpf_memcmp in dynptr_success.c test, as __builtin_memcmp
was not inlined on GCC-BPF.
====================
Link: https://patch.msgid.link/20250226183201.332713-1-mykyta.yatsenko5@gmail.com
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions