summaryrefslogtreecommitdiff
path: root/tools/lib/bpf/btf.c
AgeCommit message (Expand)AuthorFilesLines
2020-08-03libbpf: Add btf__parse_raw() and generic btf__parse() APIsAndrii Nakryiko1-36/+78
2020-07-31libbpf: Make destructors more robust by handling ERR_PTR(err) casesAndrii Nakryiko1-2/+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-1/+6
2020-03-26libbpf: Don't allocate 16M for log buffer by defaultStanislav Fomichev1-5/+15
2020-01-16libbpf: Expose bpf_find_kernel_btf as a LIBBPF_APIMartin KaFai Lau1-6/+96
2020-01-10libbpf: Poison kernel-only integer typesAndrii Nakryiko1-0/+3
2019-12-16libbpf: Fix build by renaming variablesPrashant Bhole1-6/+6
2019-12-16libbpf: Support libbpf-provided extern variablesAndrii Nakryiko1-1/+8
2019-12-16libbpf: Expose btf__align_of() APIAndrii Nakryiko1-0/+39
2019-11-16libbpf: Introduce btf__find_by_name_kind()Alexei Starovoitov1-0/+22
2019-11-07libbpf: Make btf__resolve_size logic always check size error conditionAndrii Nakryiko1-2/+1
2019-10-21tools, bpf: Rename pr_warning to pr_warn to align with kernel loggingKefeng Wang1-28/+28
2019-10-16libbpf: Update BTF reloc support to latest Clang formatAndrii Nakryiko1-8/+8
2019-08-14Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextJakub Kicinski1-140/+110
2019-08-08libbpf: add .BTF.ext offset relocation section loadingAndrii Nakryiko1-42/+27
2019-08-08libbpf: convert libbpf code to use new btf helpersAndrii Nakryiko1-98/+83
2019-07-22libbpf: Fix endianness macro usage for some compilersArnaldo Carvalho de Melo1-2/+3
2019-06-18libbpf: add common min/max macro to libbpf_internal.hAndrii Nakryiko1-3/+0
2019-05-25libbpf: switch btf_dedup() to hashmap for dedup tableAndrii Nakryiko1-116/+85
2019-05-25libbpf: add btf__parse_elf API to load .BTF and .BTF.extAndrii Nakryiko1-0/+128
2019-05-16libbpf: move logging helpers into libbpf_internal.hAndrii Nakryiko1-1/+1
2019-04-16btf: add support for VAR and DATASEC in btf_dedup()Andrii Nakryiko1-2/+27
2019-04-12Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextDavid S. Miller1-1/+96
2019-04-10bpf, libbpf: add support for BTF Var and DataSecDaniel Borkmann1-1/+96
2019-03-27libbpf: fix btf_dedup equivalence check handling of different kindsAndrii Nakryiko1-0/+3
2019-03-14btf: resolve enum fwds in btf_dedupAndrii Nakryiko1-13/+38
2019-03-01btf: fix bug with resolving STRUCT/UNION into corresponding FWDAndrii Nakryiko1-3/+17
2019-03-01btf: allow to customize dedup hash table sizeAndrii Nakryiko1-17/+36
2019-03-01tools/libbpf: signedness bug in btf_dedup_ref_type()Dan Carpenter1-1/+2
2019-02-17tools/libbpf: support bigger BTF data sizesAndrii Nakryiko1-7/+8
2019-02-15tools/bpf: replace bzero with memsetAndrii Nakryiko1-3/+2
2019-02-08tools/bpf: remove btf__get_strings() superseded by raw data APIAndrii Nakryiko1-7/+0
2019-02-08btf: expose API to work with raw btf_ext dataAndrii Nakryiko1-48/+54
2019-02-08btf: expose API to work with raw btf dataAndrii Nakryiko1-0/+6
2019-02-08btf: separate btf creation and loadingAndrii Nakryiko1-24/+30
2019-02-08tools/bpf: add missing strings.h includeAndrii Nakryiko1-0/+1
2019-02-06tools/bpf: silence a libbpf unnecessary warningYonghong Song1-2/+2
2019-02-06tools/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/+12
2019-02-05btf: add BTF types deduplication algorithmAndrii Nakryiko1-0/+1741
2019-02-05btf: extract BTF type size calculationAndrii Nakryiko1-52/+46
2019-02-04tools/bpf: implement libbpf btf__get_map_kv_tids() API functionYonghong Song1-0/+73
2019-02-04tools/bpf: print out btf log at LIBBPF_WARN levelYonghong Song1-10/+9
2019-02-04tools/bpf: move libbpf pr_* debug print functions to headersYonghong Song1-50/+47
2018-12-10bpf: libbpf: Add btf_line_info support to libbpfMartin KaFai Lau1-59/+150
2018-12-10bpf: libbpf: Refactor and bug fix on the bpf_func_info loading logicMartin KaFai Lau1-118/+73
2018-12-06bpf: Expect !info.func_info and insn_off name changes in test_btf/libbpf/bpftoolMartin KaFai Lau1-6/+6
2018-11-29bpf: Fix various lib and testsuite build failures on 32-bit.David Miller1-1/+1
2018-11-27libbpf: Name changing for btf_get_from_idMartin KaFai Lau1-1/+1