summaryrefslogtreecommitdiff
path: root/certs/blacklist.c
diff options
context:
space:
mode:
authorMenglong Dong <imagedong@tencent.com>2022-04-25 16:32:47 +0300
committerAlexei Starovoitov <ast@kernel.org>2022-04-26 21:35:21 +0300
commitc317ab71facc2cd0a94145973318a4c914e11acc (patch)
tree62a429e18068504f46d091d8423e9c4f39d633e7 /certs/blacklist.c
parent367590b7fccc2c317026abe7d29923322d959781 (diff)
downloadlinux-c317ab71facc2cd0a94145973318a4c914e11acc.tar.xz
bpf: Compute map_btf_id during build time
For now, the field 'map_btf_id' in 'struct bpf_map_ops' for all map types are computed during vmlinux-btf init: btf_parse_vmlinux() -> btf_vmlinux_map_ids_init() It will lookup the btf_type according to the 'map_btf_name' field in 'struct bpf_map_ops'. This process can be done during build time, thanks to Jiri's resolve_btfids. selftest of map_ptr has passed: $96 map_ptr:OK Summary: 1/0 PASSED, 0 SKIPPED, 0 FAILED Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: Menglong Dong <imagedong@tencent.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'certs/blacklist.c')
0 files changed, 0 insertions, 0 deletions