Re: [PATCH v4 bpf-next 04/14] bpf: Resolve BTF IDs in vmlinux image
From: Andrii Nakryiko <hidden>
Date: 2020-06-26 21:35:08
Also in:
bpf
From: Andrii Nakryiko <hidden>
Date: 2020-06-26 21:35:08
Also in:
bpf
On Thu, Jun 25, 2020 at 4:48 PM Jiri Olsa [off-list ref] 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@kernel.org> ---
Acked-by: Andrii Nakryiko <redacted>
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(-)
[...]