On Wed, Jul 22, 2020 at 2:13 PM Jiri Olsa <jolsa@xxxxxxxxxx> wrote: > > If the resolved type is array, make btf_resolve_size return also > ID of the elem type. It will be needed in following changes. > > Signed-off-by: Jiri Olsa <jolsa@xxxxxxxxxx> > --- it starts to feel like __btf_resolve_size does a bit too much, but it's pretty contained, so I suppose it's ok Acked-by: Andrii Nakryiko <andriin@xxxxxx> > kernel/bpf/btf.c | 10 +++++++--- > 1 file changed, 7 insertions(+), 3 deletions(-) > [...]