diff options
| author | Ihor Solodrai <ihor.solodrai@linux.dev> | 2025-12-19 10:13:15 -0800 |
|---|---|---|
| committer | Andrii Nakryiko <andrii@kernel.org> | 2025-12-19 10:55:40 -0800 |
| commit | 5f347a0f781a36927a547904dde4c4dac343010b (patch) | |
| tree | 255ebaeaaba67e11a91cceafb7b664da6bc1ef83 /scripts | |
| parent | c1c7d61746f42154bad30bc4adb88f5374969408 (diff) | |
resolve_btfids: Factor out load_btf()
Increase the lifetime of parsed BTF in resolve_btfids by factoring
load_btf() routine out of symbols_resolve() and storing the base_btf
and btf pointers in the struct object.
Signed-off-by: Ihor Solodrai <ihor.solodrai@linux.dev>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Tested-by: Alan Maguire <alan.maguire@oracle.com>
Acked-by: Eduard Zingerman <eddyz87@gmail.com>
Link: https://lore.kernel.org/bpf/20251219181321.1283664-3-ihor.solodrai@linux.dev
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
