diff options
author | Jiri Olsa <jolsa@kernel.org> | 2020-07-11 23:53:24 +0200 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2020-07-13 19:42:02 +0200 |
commit | c9a0f3b85e09dd16665b639cb884490410619434 (patch) | |
tree | d0f83e40d55fa26ed0b96aee69fcb66fc521be3f /kernel/bpf/queue_stack_maps.c | |
parent | bpf: Add BTF_ID_LIST/BTF_ID/BTF_ID_UNUSED macros (diff) | |
download | linux-c9a0f3b85e09dd16665b639cb884490410619434.tar.xz linux-c9a0f3b85e09dd16665b639cb884490410619434.zip |
bpf: Resolve BTF IDs in vmlinux image
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>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Tested-by: Andrii Nakryiko <andriin@fb.com>
Acked-by: Andrii Nakryiko <andriin@fb.com>
Link: https://lore.kernel.org/bpf/20200711215329.41165-5-jolsa@kernel.org
Diffstat (limited to 'kernel/bpf/queue_stack_maps.c')
0 files changed, 0 insertions, 0 deletions