aboutsummaryrefslogtreecommitdiffstats
path: root/tools/lib
AgeCommit message (Expand)AuthorFilesLines
2025-12-17Merge tag 'bpf-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpfLinus Torvalds1-3/+4
2025-12-09libbpf: Fix -Wdiscarded-qualifiers under C23Mikhail Gavrilov1-3/+4
2025-12-07Merge tag 'perf-tools-for-v6.19-2025-12-06' of git://git.kernel.org/pub/scm/l...Linus Torvalds3-15/+39
2025-12-05libperf: Use 'extern' in LIBPERF_API visibility macroArnaldo Carvalho de Melo1-1/+1
2025-12-04libperf cpumap: Fix perf_cpu_map__max for an empty/NULL mapIan Rogers1-4/+6
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-03Merge tag 'docs-6.19' of git://git.lwn.net/linuxLinus Torvalds18-0/+5919
2025-12-02Merge tag 's390-6.19-1' of git://git.kernel.org/pub/scm/linux/kernel/git/s390...Linus Torvalds2-6/+0
2025-12-02perf tools: Minimal DEFERRED_CALLCHAIN supportNamhyung Kim1-0/+13
2025-11-29docs: kdoc: various fixes for grammar, spelling, punctuationRandy Dunlap5-26/+26
2025-11-29docs: kdoc_parser: use '@' for Excess enum valueRandy Dunlap1-1/+1
2025-11-29docs: kdoc_parser: add data/function attributes to ignoreRandy Dunlap1-0/+3
2025-11-25libbpf: Fix some incorrect @param descriptions in the comment of libbpf.hJianyun Gao1-11/+16
2025-11-21tools/docs/get_feat.py: convert get_feat.pl to PythonMauro Carvalho Chehab1-0/+494
2025-11-18docs: bring some order to our Python module hierarchyJonathan Corbet9-10/+10
2025-11-18docs: Move the python libraries to tools/lib/pythonJonathan Corbet14-0/+5422
2025-11-17libperf cpumap: Reduce allocations and sorting in intersectIan Rogers1-10/+19
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-11Merge tag 'bpf-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpfLinus Torvalds1-10/+14
2025-10-08Merge tag 'perf-tools-for-v6.18-1-2025-10-08' of git://git.kernel.org/pub/scm...Linus Torvalds2-1/+2
2025-10-07Merge tag 'thermal-6.18-rc1-2' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds2-3/+11
2025-10-06libbpf: Fix undefined behavior in {get,put}_unaligned_be32()Eric Biggers1-10/+14
2025-10-03tools: lib: thermal: expose thermal_exit symbolsEmil Dahl Juhl1-1/+4
2025-10-03tools: lib: thermal: don't preserve owner in installEmil Dahl Juhl1-1/+1
2025-10-03tools: lib: thermal: use pkg-config to locate libnl3Sascha Hauer1-1/+6
2025-10-02libbpf: Fix missing #pragma in libbpf_utils.cTony Ambardar1-0/+1
2025-10-02libperf mmap: In user mmap rdpmc avoid undefined behaviorIan Rogers1-1/+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-30Merge tag 'bpf-next-6.18' of git://git.kernel.org/pub/scm/linux/kernel/git/bp...Linus Torvalds11-41/+483
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-19Merge remote-tracking branch 'torvalds/master' into perf-tools-nextArnaldo Carvalho de Melo1-0/+3
2025-09-18libbpf: Support exclusive map creationKP Singh5-2/+101
2025-09-18libbpf: Implement SHA256 internal helperKP Singh2-0/+63
2025-09-12perf subcmd: avoid crash in exclude_cmds when excludes is emptyhupu1-0/+3
2025-09-04libbpf: Remove unused args in parse_usdt_noteJiawei Zhao1-6/+4
2025-09-03libperf event: Ensure tracing data is multiple of 8 sizedIan Rogers1-0/+1
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-08-01Merge tag 'bpf-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpfLinus Torvalds1-1/+1
2025-08-01Merge tag 'perf-tools-for-v6.17-2025-08-01' of git://git.kernel.org/pub/scm/l...Linus Torvalds6-46/+132
2025-07-31libbpf: Avoid possible use of uninitialized mod_lenAchill Gilgenast1-1/+1
2025-07-24perf parse-events: Support user CPUs mixed with threads/processesIan Rogers1-38/+81
2025-07-24libperf evsel: Factor perf_evsel__exit out of perf_evsel__deleteIan Rogers2-1/+7
2025-07-24libperf evsel: Rename own_cpus to pmu_cpusIan Rogers3-6/+6
2025-07-22tools subcmd: Tighten the filename size in check_if_command_finishedIan Rogers1-2/+13
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-07-02perf tools: Fix use-after-free in help_unknown_cmd()Namhyung Kim1-5/+7
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-24libperf evsel: Add missed puts and assertsIan Rogers1-0/+6
2025-06-23libbpf: Fix null pointer dereference in btf_dump__free on allocation failureYuan Chen1-0/+3
2025-06-22Merge tag 'v6.16-rc3' into perf-tools-nextNamhyung Kim1-3/+3
2025-06-20perf record: collect BPF metadata from existing BPF programsBlake Jones1-0/+18
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-06-03Merge tag 'perf-tools-for-v6.16-1-2025-06-03' of git://git.kernel.org/pub/scm...Linus Torvalds6-0/+43
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-21libperf threadmap: Add perf_thread_map__idx()Ian Rogers2-0/+13
2025-05-21libperf threadmap: Don't segv for index 0 for the NULL 'struct perf_thread_ma...Ian Rogers1-0/+5
2025-05-20libbpf/btf: Fix string handling to support multi-split BTFAlan Maguire1-1/+1
2025-05-16perf record: Add 8-byte aligned event type PERF_RECORD_COMPRESSED2Chun-Tse Shao2-0/+13
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-12libperf cpumap: Add ability to create CPU from a single CPU numberIan Rogers2-0/+12
2025-05-08Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-2/+12
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-29perf tools: Fix in-source libperf buildJames Clark1-3/+3
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-23perf tools: Fix arm64 build by generating unistd_64.hJames Clark1-1/+11
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-04-01Merge tag 'mm-nonmm-stable-2025-03-30-18-23' of git://git.kernel.org/pub/scm/...Linus Torvalds2-0/+36
2025-03-31Merge tag 'perf-tools-for-v6.15-2025-03-27' of git://git.kernel.org/pub/scm/l...Linus Torvalds5-15/+115
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-19libperf: Don't remove -g when EXTRA_CFLAGS are usedJames Clark1-9/+3
2025-03-17libbpf: Pass BPF token from find_prog_btf_id to BPF_BTF_GET_FD_BY_IDMykyta Yatsenko5-9/+23
2025-03-17lib/interval_tree: add test case for interval_tree_iter_xxx() helpersWei Yang1-0/+20
2025-03-17lib/rbtree: enable userland test suite for rbtree related data structureWei Yang1-0/+16
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-03-13libapi: Add missing header with NAME_MAX define to io_dir.hArnaldo Carvalho de Melo1-0/+1
2025-02-27perf cpumap: Reduce cpu size from int to int16_tIan Rogers2-5/+6
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 Torvalds3-39/+0
2025-02-24tools lib api: Add io_dir an allocation free readdir alternativeIan Rogers2-1/+105
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 Jenkins3-39/+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-24Merge tag 'perf-tools-for-v6.14-2025-01-21' of git://git.kernel.org/pub/scm/l...Linus Torvalds7-103/+48
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-16Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpfAlexei Starovoitov1-2/+16
2024-12-13libbpf: prog load: Allow to use fd_array_cntAnton Protopopov2-2/+6
2024-12-13Merge remote-tracking branch 'torvalds/master' into perf-tools-nextArnaldo Carvalho de Melo1-2/+16
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-11libperf: evlist: Fix --cpu argument on hybrid platformJames Clark1-2/+16
2024-12-09tool api fs: Correctly encode errno for read/write open failuresIan Rogers1-3/+3
2024-12-09libperf cpumap: Grow array of read CPUs in smaller incrementsIan Rogers1-4/+5
2024-12-09libperf cpumap: Remove perf_cpu_map__read()Ian Rogers4-60/+0
2024-12-09libperf cpumap: Remove use of perf_cpu_map__read()Ian Rogers1-5/+6
2024-12-09libperf cpumap: Be tolerant of newline at the end of a cpumaskIan Rogers1-2/+2
2024-12-09libperf cpumap: Hide/reduce scope of MAX_NR_CPUSIan Rogers2-4/+2
2024-12-09perf: Increase MAX_NR_CPUS to 4096Kyle Meyer1-1/+1
2024-12-09libperf cpumap: Refactor perf_cpu_map__merge()Leo Yan3-25/+30
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-26Merge tag 'perf-tools-for-v6.13-2024-11-24' of git://git.kernel.org/pub/scm/l...Linus Torvalds6-4/+145
2024-11-25Merge tag 'mm-nonmm-stable-2024-11-24-02-05' of git://git.kernel.org/pub/scm/...Linus Torvalds1-2/+0
2024-11-21Merge tag 'bpf-next-6.13' of git://git.kernel.org/pub/scm/linux/kernel/git/bp...Linus Torvalds26-476/+917
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-13Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpfAlexei Starovoitov2-1/+5
2024-11-13libsubcmd: Move va_end() before exitLuo Yifan1-1/+1
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-11-11Merge back thermal control material for 6.13Rafael J. Wysocki5-26/+279
2024-11-08tools api io: Ensure line_len_out is always initializedIan Rogers1-0/+1
2024-11-05tools/lib/list_sort: remove unnecessary header includesKuan-Wei Chiu1-2/+0
2024-11-04tools/lib/thermal: Remove the thermal.h soft link when doing make cleanzhang jiao1-1/+3
2024-11-04tools/lib/thermal: Fix sampling handler context ptrEmil Dahl Juhl1-0/+2
2024-10-29libbpf: start v1.6 development cycleAndrii Nakryiko2-1/+4
2024-10-28tools subcmd: Add non-waitpid check_if_command_finished()Ian Rogers1-0/+33
2024-10-24libbpf: define __uptr.Kui-Feng Lee1-0/+1
2024-10-24thermal/lib: Fix memory leak on error in thermal_genl_auto()Daniel Lezcano1-4/+7
2024-10-24tools/lib/thermal: Add the threshold netlink ABIDaniel Lezcano5-14/+241
2024-10-24tools/lib/thermal: Make more generic the command encoding functionDaniel Lezcano1-9/+32
2024-10-23libbpf: move global data mmap()'ing into bpf_object__load()Andrii Nakryiko1-43/+40
2024-10-23libsubcmd: Silence compiler warningEder Zulian1-1/+1
2024-10-23libbpf: Prevent compiler warnings/errorsEder Zulian1-2/+2
2024-10-14Merge tag 'v6.12-rc3' into perf-tools-nextNamhyung Kim16-75/+145
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