]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit - include/linux/btf.h
bpf: Move btf_resolve_size into __btf_resolve_size
authorJiri Olsa <jolsa@kernel.org>
Tue, 25 Aug 2020 19:21:13 +0000 (21:21 +0200)
committerAlexei Starovoitov <ast@kernel.org>
Tue, 25 Aug 2020 22:37:41 +0000 (15:37 -0700)
commit6298399bfc101f8e8cf35a916f26aa32bdf04278
tree21fbccfaaff2150e9d3115845208fdb2e63c7c6a
parenta5f53b1d59c2fd35ebb55bbe47b05d596c0d466c
bpf: Move btf_resolve_size into __btf_resolve_size

Moving btf_resolve_size into __btf_resolve_size and
keeping btf_resolve_size public with just first 3
arguments, because the rest of the arguments are not
used by outside callers.

Following changes are adding more arguments, which
are not useful to outside callers. They will be added
to the __btf_resolve_size function.

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-4-jolsa@kernel.org
include/linux/btf.h
kernel/bpf/bpf_struct_ops.c
kernel/bpf/btf.c