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/testing/selftests/bpf/prog_tests | |
parent | 4d8ebe1304e99cf6e08e432c23041638d6d1de56 (diff) | |
parent | ea9d561686fbd0e1ddf05d861d8f2c1ae8291870 (diff) |
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/testing/selftests/bpf/prog_tests')
0 files changed, 0 insertions, 0 deletions