summaryrefslogtreecommitdiff
path: root/tools/lib/bpf/libbpf.c
AgeCommit message (Expand)AuthorFilesLines
2020-08-19libbpf: Centralize poisoning and poison reallocarray()Andrii Nakryiko1-3/+0
2020-08-19libbpf: Remove any use of reallocarray() in libbpfAndrii Nakryiko1-11/+10
2020-08-19libbpf: Improve relocation ambiguity detectionAndrii Nakryiko1-46/+124
2020-08-19libbpf: Clean up and improve CO-RE reloc loggingAndrii Nakryiko1-63/+102
2020-08-19libbpf: Improve error logging for mismatched BTF kind casesAndrii Nakryiko1-18/+41
2020-08-19libbpf: Detect minimal BTF support and skip BTF loading, if missingAndrii Nakryiko1-0/+27
2020-08-19libbpf: Sanitize BPF program code for bpf_probe_read_{kernel, user}[_str]Andrii Nakryiko1-0/+80
2020-08-19libbpf: Factor out common logic of testing and closing FDAndrii Nakryiko1-53/+17
2020-08-19libbpf: Make kernel feature probing lazyAndrii Nakryiko1-64/+86
2020-08-19libbpf: Convert comma to semicolonXu Wang1-1/+1
2020-08-14libbpf: Enforce 64-bitness of BTF for BPF object filesAndrii Nakryiko1-0/+4
2020-08-14libbpf: Fix BTF-defined map-in-map initialization on 32-bit host archesAndrii Nakryiko1-6/+10
2020-08-13libbpf: Prevent overriding errno when logging errorsToke Høiland-Jørgensen1-5/+7
2020-08-07tools/bpf: Support new uapi for map element bpf iteratorYonghong Song1-4/+2
2020-08-02libbpf: Add bpf_link detach APIsAndrii Nakryiko1-0/+5
2020-07-31libbpf: Make destructors more robust by handling ERR_PTR(err) casesAndrii Nakryiko1-5/+4
2020-07-26libbpf: Add support for BPF XDP linkAndrii Nakryiko1-1/+8
2020-07-26libbpf: Print hint when PERF_EVENT_IOC_SET_BPF returns -EPROTOSong Liu1-0/+3
2020-07-26tools/libbpf: Add support for bpf map element iteratorYonghong Song1-1/+9
2020-07-18libbpf: Add support for SK_LOOKUP program typeJakub Sitnicki1-0/+3
2020-07-16libbpf: Add SEC name for xdp programs attached to CPUMAPLorenzo Bianconi1-0/+2
2020-07-14Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextDavid S. Miller1-68/+81
2020-07-11Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netDavid S. Miller1-2/+8
2020-07-10libbpf: Fix memory leak and optimize BTF sanitizationAndrii Nakryiko1-8/+3
2020-07-09libbpf: Handle missing BPF_OBJ_GET_INFO_BY_FD gracefully in perf_bufferAndrii Nakryiko1-11/+20
2020-07-09libbpf: Improve BTF sanitization handlingAndrii Nakryiko1-45/+58
2020-07-09libbpf: Make BTF finalization strictAndrii Nakryiko1-12/+4
2020-07-08libbpf: Add support for BPF_CGROUP_INET_SOCK_RELEASEStanislav Fomichev1-0/+4
2020-06-28libbpf: Support disabling auto-loading BPF programsAndrii Nakryiko1-8/+40
2020-06-25libbpf: Adjust SEC short cut for expected attach type BPF_XDP_DEVMAPJesper Dangaard Brouer1-1/+1
2020-06-24libbpf: Prevent loading vmlinux BTF twiceAndrii Nakryiko1-11/+22
2020-06-24libbpf: Fix spelling mistake "kallasyms" -> "kallsyms"Colin Ian King1-1/+1
2020-06-24libbpf: Fix CO-RE relocs against .text sectionAndrii Nakryiko1-1/+7
2020-06-23libbpf: Add support for extracting kernel symbol addressesAndrii Nakryiko1-6/+138
2020-06-23libbpf: Generalize libbpf externs supportAndrii Nakryiko1-140/+206
2020-06-23libbpf: Add a bunch of attribute getters/setters for map definitionsAndrii Nakryiko1-7/+93
2020-06-13libbpf: Support pre-initializing .bss global variablesAndrii Nakryiko1-4/+0
2020-06-02libbpf: Add support for bpf_link-based netns attachmentJakub Sitnicki1-5/+18
2020-06-02libbpf: Add SEC name for xdp programs attached to device mapDavid Ahern1-0/+2
2020-06-02libbpf: Fix perf_buffer__free() API for sparse allocsEelco Chaudron1-1/+4
2020-06-02libbpf: Add API to consume the perf ring buffer contentEelco Chaudron1-0/+19
2020-05-19bpf, libbpf: Enable get{peer, sock}name attach typesDaniel Borkmann1-0/+8
2020-05-13bpf: Change btf_iter func proto prefix to "bpf_iter_"Yonghong Song1-1/+1
2020-05-13libbpf: Fix probe code to return EPERM if encounteredEelco Chaudron1-7/+29
2020-05-11bpf, libbpf: Replace zero-length array with flexible-arrayGustavo A. R. Silva1-1/+1
2020-05-10tools/libbpf: Add bpf_iter supportYonghong Song1-0/+52
2020-04-30libbpf: Fix false uninitialized variable warningAndrii Nakryiko1-1/+1
2020-04-29libbpf: Fix huge memory leak in libbpf_find_vmlinux_btf_id()Andrii Nakryiko1-1/+4
2020-04-29libbpf: Add BTF-defined map-in-map supportAndrii Nakryiko1-23/+258
2020-04-29libbpf: Refactor map creation logic and fix cleanup leakAndrii Nakryiko1-105/+121