On Wed, Nov 4, 2020 at 2:02 PM Jiri Olsa <jolsa@xxxxxxxxxx> wrote: > > Moving find_all_percpu_vars under generic collect_symbols > function that walks over symbols and calls collect_percpu_var. > > We will add another collect function that needs to go through > all the symbols, so it's better we go through them just once. > > There's no functional change intended. > > Acked-by: Hao Luo <haoluo@xxxxxxxxxx> > Signed-off-by: Jiri Olsa <jolsa@xxxxxxxxxx> > --- diff tool didn't do a great job here :( but code seems fine to me, so: Acked-by: Andrii Nakryiko <andrii@xxxxxxxxxx> > btf_encoder.c | 124 +++++++++++++++++++++++++++----------------------- > 1 file changed, 67 insertions(+), 57 deletions(-) > [...]