diff options
| author | Andrii Nakryiko <[email protected]> | 2021-03-18 19:40:28 +0000 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2021-03-18 23:14:22 +0000 |
| commit | 90d76d3ececc74bf43b2a97f178dadfa1e52be54 (patch) | |
| tree | 8efd86b33ebb93bc89683b9a3410f3bcc6219e24 /tools/lib/bpf/linker.c | |
| parent | libbpf: Rename internal memory-management helpers (diff) | |
| download | kernel-90d76d3ececc74bf43b2a97f178dadfa1e52be54.tar.gz kernel-90d76d3ececc74bf43b2a97f178dadfa1e52be54.zip | |
libbpf: Extract internal set-of-strings datastructure APIs
Extract BTF logic for maintaining a set of strings data structure, used for
BTF strings section construction in writable mode, into separate re-usable
API. This data structure is going to be used by bpf_linker to maintains ELF
STRTAB section, which has the same layout as BTF strings section.
Suggested-by: Alexei Starovoitov <[email protected]>
Signed-off-by: Andrii Nakryiko <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/lib/bpf/linker.c')
0 files changed, 0 insertions, 0 deletions
