aboutsummaryrefslogtreecommitdiffstats
path: root/tools/lib/bpf
AgeCommit message (Expand)AuthorFilesLines
8 daysMerge tag 'bpf-next-6.19' of git://git.kernel.org/pub/scm/linux/kernel/git/bp...Linus Torvalds8-55/+362
9 daysMerge 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-14/+14
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-14/+14
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-26/+26
2025-10-06libbpf: Fix undefined behavior in {get,put}_unaligned_be32()Eric Biggers1-10/+14
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-67/+98
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-53/+139
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
2024-06-21libbpf: BTF relocation followup fixing naming, loop logicAlan Maguire1-41/+31
2024-06-21libbpf: Checking the btf_type kind when fixing variable offsetsDonglin Peng1-2/+9
2024-06-17libbpf: Make btf_parse_elf process .BTF.base transparentlyEduard Zingerman2-54/+111
2024-06-17libbpf: Split BTF relocationAlan Maguire6-1/+542
2024-06-17libbpf: Add btf__distill_base() creating split BTF with distilled base BTFAlan Maguire3-6/+335
2024-06-10Merge tag 'for-netdev' of https://git.kernel.org/pub/scm/linux/kernel/git/bpf...Jakub Kicinski6-168/+368
2024-06-06libbpf: Auto-attach struct_ops BPF maps in BPF skeletonMykyta Yatsenko3-3/+81
2024-06-05libbpf: Remove callback-based type/string BTF field visitor helpersAndrii Nakryiko2-132/+0
2024-06-05libbpf: Make use of BTF field iterator in BTF handling codeAndrii Nakryiko1-22/+54
2024-06-05libbpf: Make use of BTF field iterator in BPF linker codeAndrii Nakryiko3-26/+40
2024-06-05libbpf: Add BTF field iteratorAndrii Nakryiko2-0/+186
2024-05-31libbpf: keep FD_CLOEXEC flag when dup()'ing FDAndrii Nakryiko1-7/+3
2024-05-31libbpf: don't close(-1) in multi-uprobe feature detectorAndrii Nakryiko1-1/+2
2024-05-28libbpf: Configure log verbosity with env variableMykyta Yatsenko2-2/+28
2024-05-25libbpf: detect broken PID filtering logic for multi-uprobeAndrii Nakryiko1-1/+30
2024-05-15libbpf: fix feature detectors when using token_fdAndrii Nakryiko2-2/+2
2024-05-08bpf: Avoid uninitialized value in BPF_CORE_READ_BITFIELDJose E. Marchesi1-0/+1
2024-05-07libbpf: improve early detection of doomed-to-fail BPF program loadingAndrii Nakryiko1-1/+14
2024-05-07libbpf: fix libbpf_strerror_r() handling unknown errorsAndrii Nakryiko1-2/+14
2024-05-07libbpf: handle yet another corner case of nulling out struct_ops programAndrii Nakryiko1-1/+9
2024-05-07libbpf: remove unnecessary struct_ops prog validity checkAndrii Nakryiko1-10/+3
2024-05-02libbpf: Avoid casts from pointers to enums in bpf_tracing.hJose E. Marchesi2-47/+47
2024-05-02libbpf: Fix bpf_ksym_exists() in GCCJose E. Marchesi1-3/+14
2024-05-02libbpf: fix ring_buffer__consume_n() return result logicAndrii Nakryiko1-1/+1
2024-05-02libbpf: fix potential overflow in ring__consume_n()Andrii Nakryiko1-1/+1
2024-05-02libbpf: Fix error message in attach_kprobe_multiJiri Olsa1-1/+1
2024-05-02libbpf: Fix error message in attach_kprobe_sessionJiri Olsa1-1/+1
2024-05-01libbpf: better fix for handling nulled-out struct_ops programAndrii Nakryiko1-11/+26
2024-05-01libbpf: support "module: Function" syntax for tracing programsViktor Malik1-9/+26
2024-04-30libbpf: Add kprobe session attach type name to attach_type_nameJiri Olsa1-0/+1
2024-04-30libbpf: Add support for kprobe session attachJiri Olsa3-3/+41
2024-04-29libbpf: handle nulled-out program in struct_ops correctlyAndrii Nakryiko1-0/+1
2024-04-26bpf_helpers.h: Define bpf_tail_call_static when building with GCCJose E. Marchesi1-1/+3
2024-04-17libbpf: Fix dump of subsequent char arraysQuentin Deslandes1-0/+4
2024-04-17libbpf: Fix misaligned array closing bracketQuentin Deslandes1-0/+1
2024-04-10libbpf: Add bpf_link support for BPF_PROG_TYPE_SOCKMAPYonghong Song3-0/+10
2024-04-06libbpf: Add ring__consume_n / ring_buffer__consume_nAndrea Righi3-3/+50
2024-04-06libbpf: ringbuf: Allow to consume up to a certain amount of itemsAndrea Righi1-7/+12
2024-04-06libbpf: Start v1.5 development cycleAndrea Righi2-1/+4
2024-04-02libbpf: Use local bpf_helpers.h includeTobias Böhm1-1/+1
2024-03-28libbpf: Handle <orig_name>.llvm.<hash> symbol properlyYonghong Song1-1/+20
2024-03-28libbpf: Mark libbpf_kallsyms_parse static functionYonghong Song2-6/+4
2024-03-28bpf: improve error message for unsupported helperMykyta Yatsenko1-2/+4
2024-03-28Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-3/+7
2024-03-27Merge tag 'for-netdev' of https://git.kernel.org/pub/scm/linux/kernel/git/bpf...Jakub Kicinski5-21/+128
2024-03-26Merge tag 'for-netdev' of https://git.kernel.org/pub/scm/linux/kernel/git/bpf...Paolo Abeni1-3/+7
2024-03-22libbpf: Add new sec_def "sk_skb/verdict"Yonghong Song1-0/+1
2024-03-21Merge tag 'kbuild-v6.9' of git://git.kernel.org/pub/scm/linux/kernel/git/masa...Linus Torvalds1-1/+1
2024-03-21libbpf: Define MFD_CLOEXEC if not availableArnaldo Carvalho de Melo1-0/+4
2024-03-19libbpf: add support for BPF cookie for raw_tp/tp_btf programsAndrii Nakryiko5-5/+53