diff options
author | Mykyta Yatsenko <yatsenko@meta.com> | 2025-05-12 21:53:46 +0100 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2025-05-12 18:29:03 -0700 |
commit | d060b6aab031b6113f78cd3d1585115f13386eec (patch) | |
tree | 92b067babe341fa9525245bab1e442f060e74ada /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | fd5fd538a1f4b34cee6823ba0ddda2f7a55aca96 (diff) |
helpers: make few bpf helpers public
Make bpf_dynptr_slice_rdwr, bpf_dynptr_check_off_len and
__bpf_dynptr_write available outside of the helpers.c by
adding their prototypes into linux/include/bpf.h.
bpf_dynptr_check_off_len() implementation is moved to header and made
inline explicitly, as small function should typically be inlined.
These functions are going to be used from bpf_trace.c in the next
patch of this series.
Acked-by: Andrii Nakryiko <andrii@kernel.org>
Signed-off-by: Mykyta Yatsenko <yatsenko@meta.com>
Link: https://lore.kernel.org/r/20250512205348.191079-2-mykyta.yatsenko5@gmail.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