summaryrefslogtreecommitdiff
path: root/kernel/ksyms_common.c
diff options
context:
space:
mode:
authorKui-Feng Lee <thinker.li@gmail.com>2024-02-29 09:45:19 +0300
committerAndrii Nakryiko <andrii@kernel.org>2024-03-01 01:23:52 +0300
commit3644d285462a60c80ac225d508fcfe705640d2b4 (patch)
tree1c08efa523718f023f462628a0aeb61797e007e4 /kernel/ksyms_common.c
parent896880ff30866f386ebed14ab81ce1ad3710cfc4 (diff)
downloadlinux-3644d285462a60c80ac225d508fcfe705640d2b4.tar.xz
libbpf: Set btf_value_type_id of struct bpf_map for struct_ops.
For a struct_ops map, btf_value_type_id is the type ID of it's struct type. This value is required by bpftool to generate skeleton including pointers of shadow types. The code generator gets the type ID from bpf_map__btf_value_type_id() in order to get the type information of the struct type of a map. Signed-off-by: Kui-Feng Lee <thinker.li@gmail.com> Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Link: https://lore.kernel.org/bpf/20240229064523.2091270-2-thinker.li@gmail.com
Diffstat (limited to 'kernel/ksyms_common.c')
0 files changed, 0 insertions, 0 deletions