On Wed, Jul 22, 2020 at 2:13 PM Jiri Olsa <jolsa@xxxxxxxxxx> wrote: > > 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@xxxxxxxxxx> > --- Acked-by: Andrii Nakryiko <andriin@xxxxxx> > include/linux/btf.h | 3 +-- > kernel/bpf/bpf_struct_ops.c | 6 ++---- > kernel/bpf/btf.c | 21 ++++++++++++++------- > 3 files changed, 17 insertions(+), 13 deletions(-) > [...]