summaryrefslogtreecommitdiff
path: root/tools/lib/bpf/btf.c
AgeCommit message (Expand)AuthorFilesLines
2023-09-08libbpf: Add basic BTF sanity validationAndrii Nakryiko1-0/+160
2023-05-26libbpf: Ensure libbpf always opens files with O_CLOEXECAndrii Nakryiko1-1/+1
2023-03-01libbpf: Remove several dead assignmentsViktor Malik1-2/+0
2023-02-16libbpf: Use bpf_{btf,link,map,prog}_get_info_by_fd()Ilya Leoshkevich1-4/+4
2023-01-03libbpf: Return -ENODATA for missing btf sectionChangbin Du1-1/+1
2022-12-20libbpf: Show error info about missing ".BTF" sectionChangbin Du1-0/+1
2022-12-15libbpf: Fix btf__align_of() by taking into account field offsetsAndrii Nakryiko1-0/+13
2022-11-14libbpf: checkpatch: Fixed code alignments in btf.cKang Minchul1-2/+3
2022-11-09libbpf: Resolve unambigous forward declarationsEduard Zingerman1-4/+139
2022-11-09libbpf: Hashmap interface update to allow both long and void* keys/valuesEduard Zingerman1-21/+20
2022-11-04libbpf: Resolve enum fwd as full enum64 and vice versaEduard Zingerman1-50/+25
2022-10-25libbpf: Btf dedup identical struct test needs check for nested structs/arraysAlan Maguire1-3/+5
2022-09-26libbpf: Fix the case of running as non-root with capabilitiesJon Doron1-1/+1
2022-09-21libbpf: Support raw BTF placed in the default search pathTao Chen1-18/+12
2022-08-17libbpf: Clean up deprecated and legacy aliasesAndrii Nakryiko1-2/+0
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