diff options
author | Alastair Robertson <ajor@meta.com> | 2024-12-11 08:40:29 -0800 |
---|---|---|
committer | Andrii Nakryiko <andrii@kernel.org> | 2024-12-12 15:09:21 -0800 |
commit | b641712925bfe89ff7217cc2d0b7a8e042df556b (patch) | |
tree | 9aec214619cebbe4a508e0f193e55e77178a7599 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | b9fee10a52c0999f6f1c7e1c0ea83869f3cd10ae (diff) |
libbpf: Pull file-opening logic up to top-level functions
Move the filename arguments and file-descriptor handling from
init_output_elf() and linker_load_obj_file() and instead handle them
at the top-level in bpf_linker__new() and bpf_linker__add_file().
This will allow the inner functions to be shared with a new,
non-filename-based, API in the next commit.
Signed-off-by: Alastair Robertson <ajor@meta.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20241211164030.573042-2-ajor@meta.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions