summaryrefslogtreecommitdiffstats
path: root/tools/lib/bpf/libbpf.c
AgeCommit message (Expand)AuthorLines
2022-05-23libbpf: Fix typo in commentJulia Lawall-1/+1
2022-05-16libbpf: fix memory leak in attach_tp for target-less tracepoint programAndrii Nakryiko-4/+4
2022-05-13libbpf: Add safer high-level wrappers for map operationsAndrii Nakryiko-0/+104
2022-05-11libbpf: Add bpf_program__set_insns functionJiri Olsa-0/+22
2022-05-11libbpf: Clean up ringbuf size adjustment implementationAndrii Nakryiko-4/+2
2022-05-10libbpf: Assign cookies to links in libbpf.Kui-Feng Lee-4/+16
2022-05-09libbpf: Automatically fix up BPF_MAP_TYPE_RINGBUF size, if necessaryAndrii Nakryiko-1/+41
2022-04-28libbpf: Allow to opt-out from creating BPF mapsAndrii Nakryiko-16/+108
2022-04-28libbpf: Use libbpf_mem_ensure() when allocating new mapAndrii Nakryiko-27/+10
2022-04-28libbpf: Append "..." in fixed up log if CO-RE spec is truncatedAndrii Nakryiko-4/+4
2022-04-28libbpf: Support target-less SEC() definitions for BTF-backed programsAndrii Nakryiko-17/+32
2022-04-28libbpf: Allow "incomplete" basic tracing SEC() definitionsAndrii Nakryiko-18/+51
2022-04-26libbpf: Fix up verifier log for unguarded failed CO-RE relosAndrii Nakryiko-0/+144
2022-04-26libbpf: Record subprog-resolved CO-RE relocations unconditionallyAndrii Nakryiko-15/+12
2022-04-26libbpf: Avoid joining .BTF.ext data with BPF programs by section nameAndrii Nakryiko-27/+51
2022-04-26libbpf: Fix logic for finding matching program for CO-RE relocationAndrii Nakryiko-2/+3
2022-04-26libbpf: Drop unhelpful "program too large" guessAndrii Nakryiko-4/+0
2022-04-25libbpf: Remove unnecessary type castYuntao Wang-1/+1
2022-04-23libbpf: Teach bpf_link_create() to fallback to bpf_raw_tracepoint_open()Andrii Nakryiko-1/+2
2022-04-21libbpf: Remove redundant non-null checks on obj_elfGaosheng Cui-4/+2
2022-04-21libbpf: Update API functions usage to check errorGrant Seltzer-7/+5
2022-04-21libbpf: Add error returns to two API functionsGrant Seltzer-2/+10
2022-04-19libbpf: Fix usdt_cookie being cast to 32 bitsPu Lehui-1/+1
2022-04-19libbpf: Support opting out from autoloading BPF programs declarativelyAndrii Nakryiko-10/+21
2022-04-10libbpf: Fix a bug with checking bpf_probe_read_kernel() support in old kernelsRunqing Yang-1/+1
2022-04-08libbpf: Don't error out on CO-RE relos for overriden weak subprogsAndrii Nakryiko-4/+11
2022-04-08libbpf: Allow WEAK and GLOBAL bindings during BTF fixupAndrii Nakryiko-2/+5
2022-04-07libbpf: Improve string parsing for uprobe auto-attachAlan Maguire-48/+33
2022-04-07libbpf: Improve library identification for uprobe binary path resolutionAlan Maguire-1/+1
2022-04-05libbpf: Wire up USDT API and bpf_link integrationAndrii Nakryiko-10/+105
2022-04-04libbpf: Support Debian in resolve_full_path()Ilya Leoshkevich-1/+39
2022-04-03libbpf: Add auto-attach for uprobes based on section nameAlan Maguire-2/+72
2022-04-03libbpf: Support function name-based attach uprobesAlan Maguire-0/+204
2022-04-03libbpf: auto-resolve programs/libraries when necessary for uprobesAlan Maguire-1/+53
2022-03-21libbpf: Close fd in bpf_object__reuse_mapHengqi Chen-1/+1
2022-03-20libbpf: Avoid NULL deref when initializing map BTF infoAndrii Nakryiko-0/+3
2022-03-17libbpf: Add subskeleton scaffoldingDelyan Kratunov-21/+118
2022-03-17libbpf: Init btf_{key,value}_type_id on internal map openDelyan Kratunov-1/+14
2022-03-17libbpf: .text routines are subprograms in strict modeDelyan Kratunov-0/+7
2022-03-17libbpf: Add bpf_program__attach_kprobe_multi_opts functionJiri Olsa-0/+160
2022-03-17libbpf: Add libbpf_kallsyms_parse functionJiri Olsa-24/+38
2022-03-05libbpf: Support custom SEC() handlersAndrii Nakryiko-52/+152
2022-03-05libbpf: Allow BPF program auto-attach handlers to bail outAndrii Nakryiko-55/+85
2022-03-03libbpf: Add a check to ensure that page_cnt is non-zeroYuntao Wang-2/+2
2022-02-28libbpf: Fix BPF_MAP_TYPE_PERF_EVENT_ARRAY auto-pinningStijn Tintel-19/+25
2022-02-23libbpf: Simplify the find_elf_sec_sz() functionYuntao Wang-4/+2
2022-02-22libbpf: Remove redundant check in btf_fixup_datasec()Yuntao Wang-1/+1
2022-02-16libbpf: Expose bpf_core_{add,free}_cands() to bpftoolMauricio Vásquez-7/+10
2022-02-16libbpf: Split bpf_core_apply_relo()Mauricio Vásquez-31/+40
2022-02-07libbpf: Remove mode check in libbpf_set_strict_mode()Mauricio Vásquez-8/+0