diff options
| author | 2024-12-13 13:09:30 +0000 | |
|---|---|---|
| committer | 2024-12-13 14:45:58 -0800 | |
| commit | 76145f7255326761dafb76721a785799d8a00d5f (patch) | |
| tree | 964711c3172c3e989fae405d85efb7310a4214a5 /scripts/Makefile.thinlto | |
| parent | bpf: Move map/prog compatibility checks (diff) | |
bpf: Refactor check_pseudo_btf_id
Introduce a helper to add btfs to the env->used_maps array. Use it
to simplify the check_pseudo_btf_id() function. This new helper will
also be re-used in a consequent patch.
Signed-off-by: Anton Protopopov <aspsk@isovalent.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Acked-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20241213130934.1087929-4-aspsk@isovalent.com
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
