diff options
| author | Martin KaFai Lau <martin.lau@kernel.org> | 2024-01-30 15:55:50 -0800 |
|---|---|---|
| committer | Martin KaFai Lau <martin.lau@kernel.org> | 2024-01-30 15:55:59 -0800 |
| commit | e4009250574c69d2a3dd838af81cc3d4d72058e4 (patch) | |
| tree | a894b1c60e0bfa06e3acb82179271039dbedd3e3 /tools/perf/scripts/python | |
| parent | Merge branch 'trusted-ptr_to_btf_id-arg-support-in-global-subprogs' (diff) | |
| parent | selftests/bpf: convert bpf_rdonly_cast() uses to bpf_core_cast() macro (diff) | |
| download | linux-e4009250574c69d2a3dd838af81cc3d4d72058e4.tar.gz linux-e4009250574c69d2a3dd838af81cc3d4d72058e4.zip | |
Merge branch 'libbpf: add bpf_core_cast() helper'
Andrii Nakryiko says:
====================
Add bpf_core_cast(<ptr>, <type>) macro wrapper around bpf_rdonly_cast() kfunc
to make it easier to use this functionality in BPF code. See patch #2 for
BPF selftests conversions demonstrating improvements in code succinctness.
====================
Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
