aboutsummaryrefslogtreecommitdiffstats
path: root/tools/lib/bpf/btf.h
AgeCommit message (Expand)AuthorFilesLines
2025-06-05libbpf: Add support for printing BTF character arrays as stringsBlake Jones1-1/+2
2025-02-05libbpf: Introduce kflag for type_tags and decl_tags in BTFIhor Solodrai1-0/+3
2024-10-03libbpf: Support BTF.ext loading and output in either endiannessTony Ambardar1-0/+3
2024-09-09libbpf: Fix some typos in commentsYusheng Zheng1-1/+1
2024-06-17libbpf: Make btf_parse_elf process .BTF.base transparentlyEduard Zingerman1-0/+1
2024-06-17libbpf: Split BTF relocationAlan Maguire1-0/+14
2024-06-17libbpf: Add btf__distill_base() creating split BTF with distilled base BTFAlan Maguire1-0/+21
2022-09-27libbpf: Don't require full struct enum64 in UAPI headersAndrii Nakryiko1-1/+24
2022-08-17libbpf: Clean up deprecated and legacy aliasesAndrii Nakryiko1-1/+0
2022-06-28libbpf: remove deprecated BTF APIsAndrii Nakryiko1-84/+2
2022-06-07libbpf: Add enum64 relocation supportYonghong Song1-0/+7
2022-06-07libbpf: Add enum64 sanitizationYonghong Song1-1/+2
2022-06-07libbpf: Add enum64 support for btf_dumpYonghong Song1-0/+5
2022-06-07libbpf: Add enum64 deduplication supportYonghong Song1-0/+5
2022-06-07libbpf: Add enum64 parsing and new enum64 public APIYonghong Song1-0/+12
2022-02-04libbpf: Deprecate forgotten btf__get_map_kv_tids()Andrii Nakryiko1-0/+1
2022-02-01libbpf: Deprecate btf_ext rec_size APIsDave Marchevsky1-2/+4
2022-01-25libbpf: hide and discourage inconsistently named gettersAndrii Nakryiko1-4/+1
2022-01-18libbpf: Define BTF_KIND_* constants in btf.h to avoid compilation errorsToke Høiland-Jørgensen1-1/+21
2021-12-23libbpf: Do not use btf_dump__new() macro in C++ modeJiri Olsa1-0/+6
2021-11-26libbpf: Fix potential misaligned memory access in btf_ext__new()Andrii Nakryiko1-1/+1
2021-11-11libbpf: Support BTF_KIND_TYPE_TAGYonghong Song1-1/+8
2021-11-11libbpf: Ensure btf_dump__new() and btf_dump_opts are future-proofAndrii Nakryiko1-4/+47
2021-11-11libbpf: Turn btf_dedup_opts into OPTS-based structAndrii Nakryiko1-4/+16
2021-10-22libbpf: Add btf__type_cnt() and btf__raw_data() APIsHengqi Chen1-0/+4
2021-10-21libbpf: Deprecate btf__finalize_data() and move it into libbpf.cAndrii Nakryiko1-0/+1
2021-10-18bpf: Rename BTF_KIND_TAG to BTF_KIND_DECL_TAGYonghong Song1-6/+6
2021-10-06libbpf: Add API that copies all BTF types from one BTF object to anotherAndrii Nakryiko1-0/+22
2021-09-15libbpf: Add sphinx code documentation commentsGrant Seltzer1-0/+70
2021-09-14libbpf: Add support for BTF_KIND_TAGYonghong Song1-0/+15
2021-09-09libbpf: Add LIBBPF_DEPRECATED_SINCE macro for scheduling API deprecationsQuentin Monnet1-0/+2
2021-07-30libbpf: Add btf__load_vmlinux_btf/btf__load_module_btfHengqi Chen1-2/+4
2021-07-29libbpf: Add split BTF support for btf__load_from_kernel_by_id()Quentin Monnet1-0/+1
2021-07-29libbpf: Rename btf__get_from_id() as btf__load_from_kernel_by_id()Quentin Monnet1-1/+3
2021-07-29libbpf: Rename btf__load() as btf__load_into_kernel()Quentin Monnet1-0/+1
2021-07-16libbpf: BTF dumper support for typed dataAlan Maguire1-0/+19
2021-03-19libbpf: Add explicit padding to btf_dump_emit_type_decl_optsKP Singh1-0/+1
2021-03-18libbpf: Add generic BTF type shallow copy APIAndrii Nakryiko1-0/+2
2021-03-04libbpf: Add BTF_KIND_FLOAT supportIlya Leoshkevich1-0/+6
2020-12-03libbpf: Add base BTF accessorAndrii Nakryiko1-0/+1
2020-11-05libbpf: Implement basic split BTF supportAndrii Nakryiko1-0/+8
2020-09-29libbpf: Support BTF loading and raw data output in both endiannessAndrii Nakryiko1-0/+7
2020-09-28libbpf: Add btf__str_by_offset() as a more generic variant of name_by_offsetAndrii Nakryiko1-0/+1
2020-09-28libbpf: Add BTF writing APIsAndrii Nakryiko1-0/+38
2020-09-28libbpf: Add btf__new_empty() to create an empty BTF objectAndrii Nakryiko1-0/+1
2020-09-28libbpf: Allow modification of BTF and add btf__add_str APIAndrii Nakryiko1-0/+4
2020-09-03libbpf: Implement generalized .BTF.ext func/line info adjustmentAndrii Nakryiko1-8/+10
2020-08-18libbpf: Clean up and improve CO-RE reloc loggingAndrii Nakryiko1-38/+0
2020-08-13libbpf: Handle BTF pointer sizes more carefullyAndrii Nakryiko1-0/+2
2020-08-03libbpf: Add btf__parse_raw() and generic btf__parse() APIsAndrii Nakryiko1-2/+3
2020-07-13tools/bpftool: Strip away modifiers from global variablesAndrii Nakryiko1-1/+1
2020-07-13libbpf: Support stripping modifiers for btf_dumpAndrii Nakryiko1-0/+2
2020-07-10libbpf: Fix memory leak and optimize BTF sanitizationAndrii Nakryiko1-1/+1
2020-07-09libbpf: Add btf__set_fd() for more control over loaded BTF FDAndrii Nakryiko1-0/+1
2020-06-22libbpf: Add support for extracting kernel symbol addressesAndrii Nakryiko1-0/+5
2020-01-15libbpf: Expose bpf_find_kernel_btf as a LIBBPF_APIMartin KaFai Lau1-0/+2
2019-12-15libbpf: Expose BTF-to-C type declaration emitting APIAndrii Nakryiko1-0/+22
2019-12-15libbpf: Expose btf__align_of() APIAndrii Nakryiko1-0/+1
2019-12-15libbpf: Extract common user-facing helpersAndrii Nakryiko1-4/+2
2019-11-15libbpf: Introduce btf__find_by_name_kind()Alexei Starovoitov1-0/+2
2019-10-15libbpf: Update BTF reloc support to latest Clang formatAndrii Nakryiko1-2/+2
2019-08-07libbpf: add .BTF.ext offset relocation section loadingAndrii Nakryiko1-0/+4
2019-08-07libbpf: add helpers for working with BTF typesAndrii Nakryiko1-0/+178
2019-06-18libbpf: allow specifying map definitions using BTFAndrii Nakryiko1-0/+1
2019-05-24libbpf: add btf_dump API for BTF-to-C conversionAndrii Nakryiko1-0/+17
2019-05-24libbpf: add btf__parse_elf API to load .BTF and .BTF.extAndrii Nakryiko1-0/+2
2019-04-09bpf, libbpf: add support for BTF Var and DataSecDaniel Borkmann1-0/+3
2019-03-01btf: allow to customize dedup hash table sizeAndrii Nakryiko1-0/+1
2019-03-01libbpf: fix formatting for btf_ext__get_raw_dataAndrii Nakryiko1-1/+1
2019-02-08tools/bpf: remove btf__get_strings() superseded by raw data APIAndrii Nakryiko1-2/+0
2019-02-08btf: expose API to work with raw btf_ext dataAndrii Nakryiko1-0/+2
2019-02-08btf: expose API to work with raw btf dataAndrii Nakryiko1-0/+1
2019-02-08btf: separate btf creation and loadingAndrii Nakryiko1-0/+1
2019-02-05tools/bpf: add const qualifier to btf__get_map_kv_tids() map_name parameterYonghong Song1-1/+1
2019-02-05selftests/btf: add initial BTF dedup testsAndrii Nakryiko1-0/+3
2019-02-05btf: add BTF types deduplication algorithmAndrii Nakryiko1-0/+7
2019-02-04tools/bpf: implement libbpf btf__get_map_kv_tids() API functionYonghong Song1-0/+4
2019-02-04tools/bpf: expose functions btf_ext__* as API functionsYonghong Song1-12/+12
2019-02-04tools/bpf: move libbpf pr_* debug print functions to headersYonghong Song1-5/+2
2018-12-09bpf: libbpf: Add btf_line_info support to libbpfMartin KaFai Lau1-1/+9
2018-12-09bpf: libbpf: Refactor and bug fix on the bpf_func_info loading logicMartin KaFai Lau1-13/+4
2018-11-26libbpf: Name changing for btf_get_from_idMartin KaFai Lau1-1/+1
2018-11-21libbpf: make sure bpf headers are c++ include-ableStanislav Fomichev1-0/+8
2018-11-20tools/bpf: refactor to implement btf_get_from_id() in lib/bpfYonghong Song1-0/+1
2018-11-20tools/bpf: add support to read .BTF.ext sectionsYonghong Song1-0/+50
2018-10-16libbpf: Per-symbol visibility for DSOAndrey Ignatov1-8/+14
2018-10-08libbpf: relicense libbpf as LGPL-2.1 OR BSD-2-ClauseAlexei Starovoitov1-1/+1
2018-10-04libbpf: Make include guards consistentAndrey Ignatov1-3/+3
2018-08-11Merge ra.kernel.org:/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-1/+1
2018-08-06bpf: btf: Change tools/lib/bpf/btf to LGPLMartin KaFai Lau1-1/+1
2018-08-02tools: bpf: fix BTF code added twice to different treesJakub Kicinski1-1/+0
2018-08-02Merge ra.kernel.org:/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-4/+6
2018-07-25bpf: Introduce BPF_ANNOTATE_KV_PAIRMartin KaFai Lau1-0/+2
2018-07-25bpf: Replace [u]int32_t and [u]int64_t in libbpfMartin KaFai Lau1-4/+4
2018-07-14bpf: btf: export btf types and name by offset from libOkash Khawaja1-0/+3
2018-04-19bpf: btf: Add BTF support to libbpfMartin KaFai Lau1-0/+22