summaryrefslogtreecommitdiff
path: root/tools/lib/bpf/btf.c
AgeCommit message (Expand)AuthorFilesLines
2025-03-17libbpf: Pass BPF token from find_prog_btf_id to BPF_BTF_GET_FD_BY_IDMykyta Yatsenko1-2/+13
2025-02-06libbpf: Introduce kflag for type_tags and decl_tags in BTFIhor Solodrai1-23/+63
2025-02-03libbpf: Fix accessing BTF.ext core_relo headerTony Ambardar1-2/+2
2025-01-17libbpf: Fix return zero when elf_begin failedPu Lehui1-0/+1
2024-12-02libbpf: Improve debug message when the base BTF cannot be foundBen Olson1-1/+1
2024-11-16libbpf: Change hash_combine parameters from long to unsigned longSidong Yang1-1/+1
2024-11-12libbpf: Stringify errno in log messages in btf*.cMykyta Yatsenko1-12/+14
2024-10-04libbpf: Support BTF.ext loading and output in either endiannessTony Ambardar1-57/+219
2024-10-04libbpf: Improve log message formattingTony Ambardar1-3/+3
2024-09-10libbpf: Fix some typos in commentsYusheng Zheng1-1/+1
2024-09-05libbpf: fix some typos in libbpfLin Yikai1-1/+1
2024-08-30libbpf: Ensure new BTF objects inherit input endiannessTony Ambardar1-0/+4
2024-07-01libbpf: Fix error handling in btf__distill_base()Alan Maguire1-1/+1
2024-06-24libbpf: Skip base btf sanity checksAntoine Tenart1-1/+1
2024-06-22libbpf: Split field iter code into its own file kernelAlan Maguire1-162/+0
2024-06-18libbpf: Make btf_parse_elf process .BTF.base transparentlyEduard Zingerman1-54/+110
2024-06-18libbpf: Split BTF relocationAlan Maguire1-0/+17
2024-06-18libbpf: Add btf__distill_base() creating split BTF with distilled base BTFAlan Maguire1-6/+313
2024-06-05libbpf: Remove callback-based type/string BTF field visitor helpersAndrii Nakryiko1-130/+0
2024-06-05libbpf: Make use of BTF field iterator in BTF handling codeAndrii Nakryiko1-22/+54
2024-06-05libbpf: Make use of BTF field iterator in BPF linker codeAndrii Nakryiko1-2/+2
2024-06-05libbpf: Add BTF field iteratorAndrii Nakryiko1-0/+162
2024-03-04libbpf: Correct debug message in btf__load_vmlinux_btfChen Shen1-1/+1
2024-02-02libbpf: Add missed btf_ext__raw_data() APIAndrii Nakryiko1-1/+5
2024-02-02libbpf: Add btf__new_split() API that was declared but not implementedAndrii Nakryiko1-0/+5
2024-01-30libbpf: Add some details for BTF parsing failuresIan Rogers1-4/+18
2024-01-25libbpf: Wire up BPF token support at BPF object levelAndrii Nakryiko1-2/+8
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-17libbpf: Use bpf_{btf,link,map,prog}_get_info_by_fd()Ilya Leoshkevich1-4/+4
2023-01-04libbpf: Return -ENODATA for missing btf sectionChangbin Du1-1/+1
2022-12-21libbpf: 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-10libbpf: Resolve unambigous forward declarationsEduard Zingerman1-4/+139
2022-11-10libbpf: 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-26libbpf: Btf dedup identical struct test needs check for nested structs/arraysAlan Maguire1-3/+5
2022-09-27libbpf: Fix the case of running as non-root with capabilitiesJon Doron1-1/+1
2022-09-22libbpf: 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-04libbpf: Fix a couple of typosDaniel Müller1-1/+1
2022-06-03libbpf: Fix determine_ptr_size() guessingDouglas Raillard1-6/+20
2022-04-27libbpf: Avoid joining .BTF.ext data with BPF programs by section nameAndrii Nakryiko1-2/+7
2022-04-04libbpf: Don't return -EINVAL if hdr_len < offsetofend(core_relo_len)Yuntao Wang1-4/+2