aboutsummaryrefslogtreecommitdiffstats
path: root/tools/lib/bpf/libbpf.c
diff options
context:
space:
mode:
authorKui-Feng Lee <thinker.li@gmail.com>2024-05-23 10:41:56 -0700
committerAlexei Starovoitov <ast@kernel.org>2024-06-03 20:52:42 -0700
commita7db0d4f872a869feb7c0201c0fa736c309192d5 (patch)
tree18aba24503b94e7955511c90d82608a91854b90e /tools/lib/bpf/libbpf.c
parentbpf: Remove unnecessary call to btf_field_type_size(). (diff)
downloadlinux-rng-a7db0d4f872a869feb7c0201c0fa736c309192d5.tar.xz
linux-rng-a7db0d4f872a869feb7c0201c0fa736c309192d5.zip
bpf: refactor btf_find_struct_field() and btf_find_datasec_var().
Move common code of the two functions to btf_find_field_one(). Acked-by: Eduard Zingerman <eddyz87@gmail.com> Signed-off-by: Kui-Feng Lee <thinker.li@gmail.com> Link: https://lore.kernel.org/r/20240523174202.461236-4-thinker.li@gmail.com Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/lib/bpf/libbpf.c')
0 files changed, 0 insertions, 0 deletions