aboutsummaryrefslogtreecommitdiffstats
path: root/tools/lib/bpf
AgeCommit message (Expand)AuthorFilesLines
3 dayslibbpf: Add __NR_bpf definition for LoongArchTiezhu Yang1-0/+2
3 dayslibbpf: Fix UAF in strset__add_str()Carlos Llamas1-21/+41
3 dayslibbpf: Harden parse_vma_segs() path parsingMichael Bommarito1-4/+12
7 daysMerge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf 7.1-rc5Alexei Starovoitov1-2/+1
9 dayslibbpf: fix off-by-one in emit_signature_match jump offsetKP Singh1-2/+1
13 dayslibbpf: Add OPTS_VALID() for log_opts in bpf_map_createLeon Hwang1-0/+3
2026-05-13libbpf: Use strscpy() in kernel code for skel_map_create()Kees Cook1-0/+5
2026-05-12libbpf: Add syscall common attributes support for map_createLeon Hwang2-2/+31
2026-05-12libbpf: Add support for extended BPF syscallLeon Hwang3-0/+47
2026-04-22libbpf: Fix deduplication of typedef with base definitionsAntoine Tenart1-1/+3
2026-04-22libbpf: Add section handlers for sleepable tracepointsMykyta Yatsenko1-31/+57
2026-04-20libbpf: Adjust btf_vlen() to return a __u32Alan Maguire4-39/+53
2026-04-19libbpf: Report error when a negative kprobe offset is specifiedAaron Tomlin1-1/+8
2026-04-16libbpf: Prevent double close and leak of btf objectsJiri Olsa1-10/+11
2026-04-10libbpf: Allow use of feature cache for non-token casesAlan Maguire2-3/+12
2026-04-07bpf: reject negative CO-RE accessor indices in bpf_core_parse_spec()Weiming Shi1-0/+2
2026-04-02libbpf: Clarify raw-address single kprobe attach behaviorHoyeon Lee2-7/+34
2026-04-02libbpf: Use direct error codes for kprobe/uprobe attachHoyeon Lee1-2/+2
2026-04-02libbpf: Fix BTF handling in bpf_program__clone()Mykyta Yatsenko2-17/+44
2026-03-26libbpf: Support sanitization of BTF layout for older kernelsAlan Maguire4-36/+127
2026-03-26libbpf: BTF validation can use layout for unknown kindsAlan Maguire1-2/+6
2026-03-26libbpf: Add layout encoding supportAlan Maguire3-2/+83
2026-03-26libbpf: Use layout to compute an unknown kind sizeAlan Maguire1-9/+43
2026-03-26libbpf: Support layout section handling in BTFAlan Maguire1-153/+320
2026-03-21libbpf: Introduce bpf_program__clone()Mykyta Yatsenko3-0/+96
2026-03-16libbpf: Start v1.8 development cycleIhor Solodrai2-1/+4
2026-03-05libbpf: Optimize kprobe.session attachment for exact function namesAndrey Grodzovsky1-1/+18
2026-03-05libbpf: Support appending split BTF in btf__add_btf()Josef Bacik1-9/+18
2026-03-03libbpf: Add support to detect nop,nop5 instructions combo for usdt probeJiri Olsa1-4/+43
2026-03-03libbpf: Add uprobe syscall feature detectionJiri Olsa2-0/+26
2026-02-18libbpf: Remove extern declaration of bpf_stream_vprintk()Ihor Solodrai1-3/+0
2026-02-17bpftool: Fix truncated netlink dumpsJakub Kicinski1-1/+3
2026-02-17libbpf: Delay feature gate check until object prepare timeEmil Tsalapatis1-7/+13
2026-02-17libbpf: Do not use PROG_TYPE_TRACEPOINT program for feature gatingEmil Tsalapatis1-2/+3
2026-02-13libbpf: Fix invalid write loop logic in bpf_linker__add_buf()Amery Hung1-1/+1
2026-02-13libbpf: Add gating for arena globals relocation featureEmil Tsalapatis3-2/+71
2026-01-24libbpf: add fsession supportMenglong Dong2-0/+4
2026-01-20bpf: Migrate bpf_stream_vprintk() to KF_IMPLICIT_ARGSIhor Solodrai1-3/+3
2026-01-13btf: Refactor the code by calling str_is_emptyDonglin Peng2-19/+19
2026-01-13libbpf: Verify BTF sortingDonglin Peng1-0/+25
2026-01-13libbpf: Optimize type lookup with binary search for sorted BTFDonglin Peng1-24/+64
2026-01-13libbpf: Add BTF permutation support for type reorderingDonglin Peng3-0/+176
2026-01-09libbpf: Fix OOB read in btf_dump_get_bitfield_valueVarun R Mallya1-0/+9
2026-01-06libbpf: Add BPF_F_CPU and BPF_F_ALL_CPUS flags support for percpu mapsLeon Hwang3-19/+36
2025-12-16Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf after 6.19-rc1Alexei Starovoitov1-3/+4
2025-12-16libbpf: Move arena globals to the end of the arenaEmil Tsalapatis1-4/+13
2025-12-16libbpf: Turn relo_core->sym_off unsignedEmil Tsalapatis1-7/+7
2025-12-09libbpf: Fix -Wdiscarded-qualifiers under C23Mikhail Gavrilov1-3/+4
2025-12-05libbpf: Add support for associating BPF program with struct_opsAmery Hung5-0/+89
2025-12-05libbpf: Add debug messaging in dedup equivalence/identity matchingAlan Maguire1-5/+24
2025-12-03Merge tag 'bpf-next-6.19' of git://git.kernel.org/pub/scm/linux/kernel/git/bp...Linus Torvalds8-55/+362
2025-12-02Merge tag 's390-6.19-1' of git://git.kernel.org/pub/scm/linux/kernel/git/s390...Linus Torvalds2-6/+0
2025-11-25libbpf: Fix some incorrect @param descriptions in the comment of libbpf.hJianyun Gao1-11/+16
2025-11-17tools: Remove s390 compat supportHeiko Carstens2-6/+0
2025-11-14Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf after 6.18-rc5+Alexei Starovoitov1-13/+13
2025-11-14libbpf: Fix BTF dedup to support recursive typedef definitionsPaul Houssel1-16/+55
2025-11-05libbpf: support llvm-generated indirect jumpsAnton Protopopov3-1/+251
2025-11-05libbpf: Recognize insn_array map typeAnton Protopopov2-0/+5
2025-11-04bpf: add _impl suffix for bpf_stream_vprintk() kfuncMykyta Yatsenko1-13/+13
2025-11-04libbpf: Fix parsing of multi-split BTFAlan Maguire1-2/+2
2025-11-04libbpf: Update the comment to remove the reference to the deprecated interfac...Jianyun Gao1-2/+2
2025-11-04libbpf: Complete the missing @param and @return tags in btf.hJianyun Gao1-0/+8
2025-11-03Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf after 6.18-rc4Alexei Starovoitov1-1/+1
2025-10-28libbpf: Fix the incorrect reference to the memlock_rlim variable in the comment.Jianyun Gao1-1/+1
2025-10-28libbpf: Optimize the redundant code in the bpf_object__init_user_btf_maps() f...Jianyun Gao1-1/+1
2025-10-23libbpf: Fix powerpc's stack register definition in bpf_tracing.hAndrii Nakryiko1-1/+1
2025-10-21libbpf: fix formatting of bpf_object__append_subprog_codeAnton Protopopov1-21/+21
2025-10-06libbpf: Fix undefined behavior in {get,put}_unaligned_be32()Eric Biggers1-9/+13
2025-10-02libbpf: Fix missing #pragma in libbpf_utils.cTony Ambardar1-0/+1
2025-10-01libbpf: remove linux/unaligned.h dependency for libbpf_sha256()Andrii Nakryiko1-2/+11
2025-10-01libbpf: move libbpf_sha256() implementation into libbpf_utils.cAndrii Nakryiko3-98/+100
2025-10-01libbpf: move libbpf_errstr() into libbpf_utils.cAndrii Nakryiko15-107/+84
2025-10-01libbpf: remove unused libbpf_strerror_r and STRERR_BUFSIZEAndrii Nakryiko3-30/+0
2025-10-01libbpf: make libbpf_errno.c into more generic libbpf_utils.cAndrii Nakryiko2-1/+1
2025-09-28libbpf: Replace AF_ALG with open coded SHA-256Eric Biggers3-65/+96
2025-09-26libbpf: Fix error when st-prefix_ops and ops from differ btfD. Wythe1-19/+17
2025-09-22libbpf: Embed and verify the metadata hash in the loaderKP Singh3-1/+59
2025-09-22libbpf: Update light skeleton for signingKP Singh1-4/+72
2025-09-22bpf: Implement signature verification for BPF programsKP Singh1-1/+1
2025-09-18libbpf: Support exclusive map creationKP Singh5-2/+101
2025-09-18libbpf: Implement SHA256 internal helperKP Singh2-0/+63
2025-09-04libbpf: Remove unused args in parse_usdt_noteJiawei Zhao1-6/+4
2025-08-27libbpf: Fix USDT SIB argument handling causing unrecognized register errorJiawei Zhao2-7/+99
2025-08-20libbpf: Add documentation to version and error API functionsCryolitia PukNgae1-0/+25
2025-08-20libbpf: Export bpf_object__prepare symbolMykyta Yatsenko1-1/+1
2025-08-15libbpf: Fix reuse of DEVMAPYureka Lilian1-0/+10
2025-08-07libbpf: Add the ability to suppress perf event enablementIlya Leoshkevich2-6/+11
2025-07-31libbpf: Avoid possible use of uninitialized mod_lenAchill Gilgenast1-1/+1
2025-07-18libbpf: Verify that arena map exists when adding arena relocationsEduard Zingerman1-0/+5
2025-07-18Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf after rc6Alexei Starovoitov1-7/+13
2025-07-18libbpf: Fix warning in calloc() usageMatteo Croce1-1/+1
2025-07-17libbpf: Fix handling of BPF arena relocationsAndrii Nakryiko1-7/+13
2025-07-16libbpf: start v1.7 dev cycleAndrii Nakryiko2-1/+4
2025-07-07libbpf: __arg_untrusted in bpf_helpers.hEduard Zingerman1-0/+1
2025-07-03libbpf: Introduce bpf_prog_stream_read() APIKumar Kartikeya Dwivedi3-0/+42
2025-07-03libbpf: Add bpf_stream_printk() macroKumar Kartikeya Dwivedi1-0/+16
2025-06-26Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf after rc3Alexei Starovoitov3-6/+13
2025-06-25libbpf: Fix possible use-after-free for externsAdin Scannell1-3/+7
2025-06-23libbpf: Fix null pointer dereference in btf_dump__free on allocation failureYuan Chen1-0/+3
2025-06-09libbpf: Support link-based cgroup attach with optionsYonghong Song5-0/+93
2025-06-06libbpf: Handle unsupported mmap-based /sys/kernel/btf/vmlinux correctlyAndrii Nakryiko1-3/+3
2025-06-05libbpf: Add support for printing BTF character arrays as stringsBlake Jones2-2/+56
2025-06-05libbpf: Correct some typos and syntax issues in usdt docJiawei Zhao1-5/+5
2025-05-28Merge tag 'bpf-next-6.16' of git://git.kernel.org/pub/scm/linux/kernel/git/bp...Linus Torvalds9-105/+262
2025-05-23libbpf: Use mmap to parse vmlinux BTF from sysfsLorenz Bauer1-18/+71
2025-05-20libbpf/btf: Fix string handling to support multi-split BTFAlan Maguire1-1/+1
2025-05-14libbpf: Check bpf_map_skeleton link for NULLMykyta Yatsenko1-0/+6
2025-05-12libbpf: Use proper errno value in nlattrAnton Protopopov1-8/+7
2025-05-05libbpf: Improve BTF dedup handling of "identical" BTF typesAndrii Nakryiko1-48/+89
2025-05-05bpf: Fix uninitialized values in BPF_{CORE,PROBE}_READAnton Protopopov1-0/+6
2025-04-30libbpf: Use proper errno value in linkerAnton Protopopov1-2/+2
2025-04-29libbpf: Add identical pointer detection to btf_dedup_is_equiv()Alan Maguire1-0/+16
2025-04-25Use thread-safe function pointer in libbpf_printJonathan Wiepert1-1/+1
2025-04-25libbpf: Remove sample_period init in perf_bufferTao Chen1-1/+0
2025-04-22libbpf: Fix event name too long errorFeng Yang1-27/+16
2025-04-17libbpf: Support creating and destroying qdiscAmery Hung2-4/+21
2025-04-15libbpf: Verify section type in btf_find_elf_sectionsIhor Solodrai1-0/+6
2025-04-15libbpf: Fix buffer overflow in bpf_object__init_progViktor Malik1-1/+1
2025-04-09libbpf: Add getters for BTF.ext func and line infoMykyta Yatsenko3-0/+34
2025-04-04libbpf: Add likely/unlikely macros and use them in selftestsAnton Protopopov1-0/+8
2025-04-04libbpf: Fix implicit memfd_create() for bionicCarlos Llamas3-10/+10
2025-03-30Merge tag 'bpf-next-6.15' of git://git.kernel.org/pub/scm/linux/kernel/git/bp...Linus Torvalds14-124/+316
2025-03-21libbpf: Add namespace for errstr making it libbpf_errstrIan Rogers2-3/+6
2025-03-17libbpf: Pass BPF token from find_prog_btf_id to BPF_BTF_GET_FD_BY_IDMykyta Yatsenko5-9/+23
2025-03-15libbpf: Split bpf object load into prepare/loadMykyta Yatsenko3-43/+117
2025-03-15libbpf: Introduce more granular state for bpf_objectMykyta Yatsenko1-17/+22
2025-03-15libbpf: Use map_is_created helper in map settersMykyta Yatsenko1-9/+9
2025-02-26libbpf: Implement bpf_usdt_arg_size BPF functionIhor Solodrai1-0/+32
2025-02-25Merge tag 'perf-tools-fixes-for-v6.14-2-2025-02-25' of git://git.kernel.org/p...Linus Torvalds1-13/+0
2025-02-24libbpf: Fix out-of-bound readNandakumar Edamana1-1/+1
2025-02-20libbpf: Fix hypothetical STT_SECTION extern NULL deref caseAndrii Nakryiko1-1/+1
2025-02-19libbpf: Wrap libbpf API direct err with libbpf_errTao Chen1-13/+13
2025-02-18tools: Remove redundant quiet setupCharlie Jenkins1-13/+0
2025-02-14libbpf: fix LDX/STX/ST CO-RE relocation size adjustment logicAndrii Nakryiko1-4/+20
2025-02-05libbpf: Check the kflag of type tags in btf_dumpIhor Solodrai1-1/+4
2025-02-05libbpf: Introduce kflag for type_tags and decl_tags in BTFIhor Solodrai3-23/+68
2025-02-03libbpf: Fix accessing BTF.ext core_relo headerTony Ambardar1-2/+2
2025-01-17libbpf: Work around kernel inconsistently stripping '.llvm.' suffixAndrii Nakryiko1-1/+25
2025-01-16libbpf: Fix incorrect traversal end type ID when marking BTF_IS_EMBEDDEDPu Lehui1-1/+1
2025-01-16libbpf: Fix return zero when elf_begin failedPu Lehui1-0/+1
2025-01-10libbpf: Add unique_match option for multi kprobeYonghong Song2-2/+15
2024-12-30libbpf: Set MFD_NOEXEC_SEAL when creating memfdDaniel Xu1-1/+13
2024-12-13libbpf: prog load: Allow to use fd_array_cntAnton Protopopov2-2/+6
2024-12-12libbpf: Extend linker API to support in-memory ELF filesAlastair Robertson3-21/+150
2024-12-12libbpf: Pull file-opening logic up to top-level functionsAlastair Robertson1-42/+42
2024-12-05libbpf: Fix segfault due to libelf functions not setting errnoQuentin Monnet1-14/+8
2024-12-02libbpf: Improve debug message when the base BTF cannot be foundBen Olson1-1/+1
2024-12-02libbpf: don't adjust USDT semaphore address if .stapsdt.base addr is missingAndrii Nakryiko1-1/+1
2024-11-16libbpf: Change hash_combine parameters from long to unsigned longSidong Yang1-1/+1
2024-11-15libbpf: Fix memory leak in bpf_program__attach_uprobe_multiJiri Olsa1-6/+5
2024-11-11libbpf: Stringify errno in log messages in the remaining codeMykyta Yatsenko6-53/+56
2024-11-11libbpf: Stringify errno in log messages in btf*.cMykyta Yatsenko2-13/+16
2024-11-11libbpf: Stringify errno in log messages in libbpf.cMykyta Yatsenko1-200/+156
2024-11-11libbpf: Introduce errstr() for stringifying errnoMykyta Yatsenko2-0/+78
2024-11-11libbpf: Add support for uprobe multi session attachJiri Olsa3-3/+20
2024-11-11bpf: Add support for uprobe multi session attachJiri Olsa1-0/+1
2024-10-29libbpf: start v1.6 development cycleAndrii Nakryiko2-1/+4
2024-10-24libbpf: define __uptr.Kui-Feng Lee1-0/+1
2024-10-23libbpf: move global data mmap()'ing into bpf_object__load()Andrii Nakryiko1-43/+40
2024-10-23libbpf: Prevent compiler warnings/errorsEder Zulian1-2/+2
2024-10-11libbpf: Fix possible compiler warnings in hashmapNamhyung Kim1-10/+10
2024-10-11libbpf: never interpret subprogs in .text as entry programsAndrii Nakryiko1-1/+1
2024-10-09libbpf: fix sym_is_subprog() logic for weak global subprogsAndrii Nakryiko1-1/+1
2024-10-07libbpf: Do not resolve size on duplicate FUNCsEric Long1-0/+4
2024-10-07libbpf: Add missing per-arch include pathBjörn Töpel1-1/+2
2024-10-03libbpf: Support creating light skeleton of either endiannessTony Ambardar4-51/+137
2024-10-03libbpf: Support linking bpf objects of either endiannessTony Ambardar1-16/+62
2024-10-03libbpf: Support opening bpf objects of either endiannessTony Ambardar2-9/+52
2024-10-03libbpf: Support BTF.ext loading and output in either endiannessTony Ambardar4-57/+253
2024-10-03libbpf: Fix output .symtab byte-order during linkingTony Ambardar1-0/+2
2024-10-03libbpf: Fix header comment typos for BTF.extTony Ambardar1-2/+2
2024-10-03libbpf: Improve log message formattingTony Ambardar5-8/+8
2024-10-03libbpf: Remove unneeded semicolonChen Ni1-1/+1
2024-10-03libbpf: Fix expected_attach_type set handling in program load callbackTao Chen1-4/+8
2024-10-03libbpf: Change log level of BTF loading error messageIhor Solodrai1-4/+5
2024-09-22Merge tag 'perf-tools-for-v6.12-1-2024-09-19' of git://git.kernel.org/pub/scm...Linus Torvalds2-3/+11
2024-09-12libbpf: Add bpf_object__token_fd accessorIhor Solodrai3-0/+14
2024-09-10libbpf: Fix uretprobe.multi.s programs auto attachmentJiri Olsa1-1/+1
2024-09-09libbpf: Fix some typos in commentsYusheng Zheng8-13/+13
2024-09-09libbpf: Fixed getting wrong return address on arm64 architectureShuyi Cheng1-1/+1
2024-09-06libbpf: Workaround (another) -Wmaybe-uninitialized false positiveSam James1-2/+2
2024-09-05libbpf: fix some typos in libbpfLin Yikai6-9/+9
2024-09-04libbpf: Fix accessing first syscall argument on RV64Pu Lehui1-1/+8
2024-09-04libbpf: Access first syscall argument with CO-RE direct read on arm64Pu Lehui1-2/+2
2024-09-04libbpf: Access first syscall argument with CO-RE direct read on s390Pu Lehui1-2/+2
2024-08-30libbpf: Ensure new BTF objects inherit input endiannessTony Ambardar1-0/+4
2024-08-29libbpf: Fix bpf_object__open_skeleton()'s mishandling of optionsAndrii Nakryiko1-33/+19
2024-08-15libbpf: Workaround -Wmaybe-uninitialized false positiveSam James1-0/+3
2024-08-12libbpf: Fix license for btf_relocate.cAlan Maguire1-1/+1
2024-08-05tools build: Correct bpf fixdep dependenciesBrian Norris2-3/+11
2024-07-29libbpf: Don't take direct pointers into BTF data from st_opsDavid Vernet1-10/+13
2024-07-17libbpf: Fix no-args func prototype BTF dumping syntaxAndrii Nakryiko1-3/+5
2024-07-09libbpf: improve old BPF skeleton handling for map auto-attachAndrii Nakryiko1-12/+14
2024-07-09libbpf: fix BPF skeleton forward/backward compat handlingAndrii Nakryiko1-20/+27
2024-07-08libbpf: Add NULL checks to bpf_object__{prev_map,next_map}Andreas Ziegler1-2/+2
2024-07-01libbpf: Fix error handling in btf__distill_base()Alan Maguire1-1/+1
2024-06-26libbpf: Fix clang compilation error in btf_relocate.cAlan Maguire1-2/+2
2024-06-24libbpf: Skip base btf sanity checksAntoine Tenart1-1/+1
2024-06-21libbpf,bpf: Share BTF relocate-related code with kernelAlan Maguire2-0/+31
2024-06-21libbpf: Split field iter code into its own file kernelAlan Maguire3-163/+170