diff options
| author | Andrii Nakryiko <andrii@kernel.org> | 2024-12-13 01:58:49 +0300 |
|---|---|---|
| committer | Andrii Nakryiko <andrii@kernel.org> | 2024-12-13 02:16:55 +0300 |
| commit | f4f25b689b0da1c009028ed45ad1700c2cc8560a (patch) | |
| tree | 56030fcfd759b2ac5333fe55f268ad46625674ca /rust/helpers/platform.c | |
| parent | b9fee10a52c0999f6f1c7e1c0ea83869f3cd10ae (diff) | |
| parent | 6d5e5e5d7ce134a0b334c3bfe44a9326d8c5f32b (diff) | |
| download | linux-f4f25b689b0da1c009028ed45ad1700c2cc8560a.tar.xz | |
Merge branch 'libbpf-extend-linker-api-to-support-in-memory-elf-files'
Alastair Robertson says:
====================
libbpf: Extend linker API to support in-memory ELF files
This gives API consumers the option of using anonymous files/memfds to
avoid writing temporary ELFs to disk, which will be useful for performing
linking as part of bpftrace's JIT compilation.
v3:
- Removed "filename" option. Now always generate our own filename for
passed-in FDs and buffers.
- Use a common function (bpf_linker_add_file) for shared
implementation of bpf_linker__add_file, bpf_linker__add_fd and
bpf_linker__add_buf.
====================
Link: https://patch.msgid.link/20241211164030.573042-1-ajor@meta.com
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Diffstat (limited to 'rust/helpers/platform.c')
0 files changed, 0 insertions, 0 deletions
