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