summaryrefslogtreecommitdiffstats
path: root/tools/lib/bpf/btf.c
AgeCommit message (Expand)AuthorFilesLines
2022-06-28libbpf: remove deprecated BTF APIsAndrii Nakryiko1-182/+1
2022-06-07libbpf: Add enum64 deduplication supportYonghong Song1-2/+60
2022-06-07libbpf: Add enum64 parsing and new enum64 public APIYonghong Song1-0/+103
2022-06-07libbpf: Refactor btf__add_enum() for future code sharingYonghong Song1-15/+21
2022-06-03libbpf: Fix a couple of typosDaniel Müller1-1/+1
2022-06-02libbpf: Fix determine_ptr_size() guessingDouglas Raillard1-6/+20
2022-04-26libbpf: Avoid joining .BTF.ext data with BPF programs by section nameAndrii Nakryiko1-2/+7
2022-04-03libbpf: Don't return -EINVAL if hdr_len < offsetofend(core_relo_len)Yuntao Wang1-4/+2
2022-01-19libbpf: Improve btf__add_btf() with an additional hashmap for strings.Kui-Feng Lee1-1/+30
2021-12-10libbpf: Fix typo in btf__dedup@LIBBPF_0.0.2 definitionVincent Minet1-1/+1
2021-12-10libbpf: Allow passing preallocated log_buf when loading BTF into kernelAndrii Nakryiko1-23/+55
2021-12-02libbpf: Replace btf__type_by_id() with btf_type_by_id().Alexei Starovoitov1-1/+1
2021-11-26libbpf: Fix potential misaligned memory access in btf_ext__new()Andrii Nakryiko1-5/+5
2021-11-19libbpf: Accommodate DWARF/compiler bug with duplicated structsAndrii Nakryiko1-4/+41
2021-11-16libbpf: Fix a couple of missed btf_type_tag handling in btf.cYonghong Song1-0/+2
2021-11-11libbpf: Support BTF_KIND_TYPE_TAGYonghong Song1-0/+23
2021-11-11libbpf: Turn btf_dedup_opts into OPTS-based structAndrii Nakryiko1-19/+27
2021-10-28libbpf: Use O_CLOEXEC uniformly when opening fdsKumar Kartikeya Dwivedi1-1/+1
2021-10-25libbpf: Use __BYTE_ORDER__Ilya Leoshkevich1-2/+2
2021-10-22libbpf: Fix BTF header parsing checksAndrii Nakryiko1-3/+9
2021-10-22libbpf: Fix overflow in BTF sanity checksAndrii Nakryiko1-2/+2
2021-10-22libbpf: Add btf__type_cnt() and btf__raw_data() APIsHengqi Chen1-14/+22
2021-10-22libbpf: Fix memory leak in btf__dedup()Mauricio Vásquez1-2/+4
2021-10-21libbpf: Deprecate btf__finalize_data() and move it into libbpf.cAndrii Nakryiko1-93/+0
2021-10-18bpf: Rename BTF_KIND_TAG to BTF_KIND_DECL_TAGYonghong Song1-18/+18
2021-10-06libbpf: Add API that copies all BTF types from one BTF object to anotherAndrii Nakryiko1-2/+112
2021-10-05libbpf: Support kernel module function callsKumar Kartikeya Dwivedi1-3/+15
2021-09-14libbpf: Add support for BTF_KIND_TAGYonghong Song1-0/+68
2021-09-14libbpf: Rename btf_{hash,equal}_int to btf_{hash,equal}_int_tagYonghong Song1-8/+8
2021-08-13Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-2/+1
2021-08-07libbpf: Do not close un-owned FD 0 on errorsDaniel Xu1-2/+1
2021-07-30libbpf: Add btf__load_vmlinux_btf/btf__load_module_btfHengqi Chen1-2/+12
2021-07-29libbpf: Add split BTF support for btf__load_from_kernel_by_id()Quentin Monnet1-2/+7
2021-07-29libbpf: Rename btf__get_from_id() as btf__load_from_kernel_by_id()Quentin Monnet1-8/+17
2021-07-29libbpf: Rename btf__load() as btf__load_into_kernel()Quentin Monnet1-1/+2
2021-05-25libbpf: Streamline error reporting for high-level APIsAndrii Nakryiko1-150/+152
2021-04-23libbpf: Mark BPF subprogs with hidden visibility as static for BPF verifierAndrii Nakryiko1-5/+0
2021-03-18libbpf: Add generic BTF type shallow copy APIAndrii Nakryiko1-0/+48
2021-03-18libbpf: Extract internal set-of-strings datastructure APIsAndrii Nakryiko1-194/+61
2021-03-18libbpf: Rename internal memory-management helpersAndrii Nakryiko1-12/+12
2021-03-18libbpf: Generalize BTF and BTF.ext type ID and strings iterationAndrii Nakryiko1-172/+221
2021-03-18libbpf: Expose btf_type_by_id() internallyAndrii Nakryiko1-1/+1
2021-03-04libbpf: Add BTF_KIND_FLOAT supportIlya Leoshkevich1-0/+49
2021-03-04libbpf: Fix whitespace in btf_add_composite() commentIlya Leoshkevich1-1/+1
2021-01-21libbpf: Use string table index from index table if neededJiri Olsa1-2/+10
2021-01-12libbpf: Allow loading empty BTFsAndrii Nakryiko1-5/+0
2020-12-03libbpf: Add internal helper to load BTF data by FDAndrii Nakryiko1-26/+35
2020-12-03libbpf: Add base BTF accessorAndrii Nakryiko1-0/+5
2020-11-16libbpf: bpf__find_by_name[_kind] should use btf__get_nr_types()Alan Maguire1-4/+4
2020-11-05libbpf: Accomodate DWARF/compiler bug with duplicated identical arraysAndrii Nakryiko1-2/+25