On Thu, Jun 25, 2020 at 4:48 PM Jiri Olsa <jolsa@xxxxxxxxxx> wrote: > > Using BTF_ID_LIST macro to define lists for several helpers > using BTF arguments. > > And running resolve_btfids on vmlinux elf object during linking, > so the .BTF_ids section gets the IDs resolved. > > Signed-off-by: Jiri Olsa <jolsa@xxxxxxxxxx> > --- Acked-by: Andrii Nakryiko <andriin@xxxxxx> > Makefile | 3 ++- > kernel/trace/bpf_trace.c | 9 +++++++-- > net/core/filter.c | 9 +++++++-- > scripts/link-vmlinux.sh | 6 ++++++ > 4 files changed, 22 insertions(+), 5 deletions(-) [...]