aboutsummaryrefslogtreecommitdiff
path: root/.rustfmt.toml
diff options
context:
space:
mode:
authorGravatar Kui-Feng Lee <thinker.li@gmail.com> 2024-02-28 22:45:19 -0800
committerGravatar Andrii Nakryiko <andrii@kernel.org> 2024-02-29 14:23:52 -0800
commit3644d285462a60c80ac225d508fcfe705640d2b4 (patch)
tree1c08efa523718f023f462628a0aeb61797e007e4 /.rustfmt.toml
parentbpf: Replace bpf_lpm_trie_key 0-length array with flexible array (diff)
downloadlinux-3644d285462a60c80ac225d508fcfe705640d2b4.tar.gz
linux-3644d285462a60c80ac225d508fcfe705640d2b4.tar.bz2
linux-3644d285462a60c80ac225d508fcfe705640d2b4.zip
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 '.rustfmt.toml')
0 files changed, 0 insertions, 0 deletions