diff options
| author | 2024-01-04 16:09:05 -0800 | |
|---|---|---|
| committer | 2024-01-23 14:40:21 -0800 | |
| commit | 522bb2c1f82b12eb7befaae815d1d959b8e6bba2 (patch) | |
| tree | 7ff504f352fe6f75aa63f2c612504b0ffbe22483 /scripts/Makefile.thinlto | |
| parent | bpf: prepare btf_prepare_func_args() for multiple tags per argument (diff) | |
bpf: support multiple tags per argument
Add ability to iterate multiple decl_tag types pointed to the same
function argument. Use this to support multiple __arg_xxx tags per
global subprog argument.
We leave btf_find_decl_tag_value() intact, but change its implementation
to use a new btf_find_next_decl_tag() which can be straightforwardly
used to find next BTF type ID of a matching btf_decl_tag type.
btf_prepare_func_args() is switched from btf_find_decl_tag_value() to
btf_find_next_decl_tag() to gain multiple tags per argument support.
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Acked-by: Eduard Zingerman <eddyz87@gmail.com>
Link: https://lore.kernel.org/r/20240105000909.2818934-5-andrii@kernel.org
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
