]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
bpf: Add type_id pointer as argument to __btf_resolve_size
authorJiri Olsa <jolsa@kernel.org>
Tue, 25 Aug 2020 19:21:15 +0000 (21:21 +0200)
committerAlexei Starovoitov <ast@kernel.org>
Tue, 25 Aug 2020 22:37:41 +0000 (15:37 -0700)
commit887c31a39c49e261581a3d108607c9dea55b12d9
tree3b4db03236c2cf18b2a3c8129ac986e007d99d6b
parent69ff304792709dcdc5c8918b236cf06fe7db448f
bpf: Add type_id pointer as argument to __btf_resolve_size

Adding type_id pointer as argument to __btf_resolve_size
to return also BTF ID of the resolved type. It will be
used in following changes.

Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Andrii Nakryiko <andriin@fb.com>
Link: https://lore.kernel.org/bpf/20200825192124.710397-6-jolsa@kernel.org
kernel/bpf/btf.c