aboutsummaryrefslogtreecommitdiffstats
path: root/tools/lib
AgeCommit message (Expand)AuthorFilesLines
2023-04-27Merge tag 'mm-nonmm-stable-2023-04-27-16-01' of git://git.kernel.org/pub/scm/...Linus Torvalds2-2/+2
2023-04-21tools: bpftool: print netfilter link infoFlorian Westphal2-0/+4
2023-04-18libbpf: mark bpf_iter_num_{new,next,destroy} as __weakAndrii Nakryiko1-3/+3
2023-04-18libbpf: move bpf_for(), bpf_for_each(), and bpf_repeat() into bpf_helpers.hAndrii Nakryiko1-0/+103
2023-04-18libbpf: improve handling of unresolved kfuncsAndrii Nakryiko1-3/+69
2023-04-18libbpf: report vmlinux vs module name when dealing with ksymsAndrii Nakryiko1-4/+5
2023-04-18libbpf: misc internal libbpf clean ups around log fixupAndrii Nakryiko1-12/+14
2023-04-13Daniel Borkmann says:Jakub Kicinski10-98/+278
2023-04-11libbpf: Wire through log_true_size for bpf_btf_load() APIAndrii Nakryiko2-4/+13
2023-04-11libbpf: Wire through log_true_size returned from kernel for BPF_PROG_LOADAndrii Nakryiko2-4/+14
2023-04-11libbpf: Don't enforce unnecessary verifier log restrictions on libbpf sideAndrii Nakryiko1-4/+0
2023-04-08ELF: fix all "Elf" typosAlexey Dobriyan2-2/+2
2023-03-29libbpf: disassociate section handler on explicit bpf_program__set_type() callAndrii Nakryiko1-0/+1
2023-03-27libbpf: Fix double-free when linker processes empty sectionsEduard Zingerman1-1/+13
2023-03-27libbpf: Ensure print callback usage is thread-safeJP Kobryn2-3/+8
2023-03-24Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-2/+2
2023-03-22libbpf: Use .struct_ops.link section to indicate a struct_ops with a link.Kui-Feng Lee1-16/+44
2023-03-22libbpf: Update a bpf_link with another struct_ops.Kui-Feng Lee5-2/+46
2023-03-22libbpf: Create a bpf_link in bpf_map__attach_struct_ops().Kui-Feng Lee1-24/+71
2023-03-22libbpf: Support kfunc detection in light skeleton.Alexei Starovoitov3-22/+27
2023-03-22libbpf: Rename RELO_EXTERN_VAR/FUNC.Alexei Starovoitov1-9/+9
2023-03-20libbpf: Explicitly call write to append content to fileLiu Pan1-5/+9
2023-03-20libbpf: Fix ld_imm64 copy logic for ksym in light skeleton.Alexei Starovoitov1-4/+6
2023-03-17libbpf: Introduce bpf_ksym_exists() macro.Alexei Starovoitov1-0/+5
2023-03-17libbpf: Fix relocation of kfunc ksym in ld_imm64 insn.Alexei Starovoitov1-0/+6
2023-03-16libbpf: Ignore warnings about "inefficient alignment"Daniel Müller1-0/+6
2023-03-10libbpf: Revert poisoning of strlcpyJesus Sanchez-Palencia1-2/+2
2023-03-07libbpf: USDT arm arg parsing supportPuranjay Mohan1-0/+80
2023-03-07libbpf: Refactor parse_usdt_arg() to re-use codePuranjay Mohan1-82/+42
2023-03-07libbpf: Fix theoretical u32 underflow in find_cd() functionDaniel Müller1-2/+1
2023-03-06Merge tag 'for-netdev' of https://git.kernel.org/pub/scm/linux/kernel/git/bpf...Jakub Kicinski12-65/+657
2023-03-06libbpf: Add support to set kprobe/uprobe attach modeMenglong Dong2-14/+84
2023-03-03bpf: Rename __kptr_ref -> __kptr and __kptr -> __kptr_untrusted.Alexei Starovoitov1-1/+1
2023-03-01libbpf: Add support for attaching uprobes to shared objects in APKsDaniel Müller1-7/+84
2023-03-01libbpf: Introduce elf_find_func_offset_from_file() functionDaniel Müller1-21/+36
2023-03-01libbpf: Implement basic zip archive parsing supportDaniel Müller3-1/+376
2023-03-01libbpf: Cleanup linker_append_elf_relosViktor Malik1-9/+2
2023-03-01libbpf: Remove several dead assignmentsViktor Malik3-6/+0
2023-03-01libbpf: Remove unnecessary ternary operatorViktor Malik1-1/+1
2023-02-27libbpf: Fix bpf_xdp_query() in old kernelsYonghong Song1-1/+7
2023-02-27libbpf: Document bpf_{btf,link,map,prog}_get_info_by_fd()Ilya Leoshkevich1-5/+64
2023-02-27libbpf: Fix arm syscall regs spec in bpf_tracing.hPuranjay Mohan1-0/+1
2023-02-27libbpf: Use struct user_pt_regs to define __PT_REGS_CAST() for LoongArchTiezhu Yang1-0/+2
2023-02-23Merge tag 'trace-v6.3' of git://git.kernel.org/pub/scm/linux/kernel/git/trace...Linus Torvalds1-2/+2
2023-02-21Merge tag 'net-next-6.3' of git://git.kernel.org/pub/scm/linux/kernel/git/net...Linus Torvalds19-176/+855
2023-02-18tracing: Always use canonical ftrace pathRoss Zwisler1-2/+2
2023-02-16libbpf: Use bpf_{btf,link,map,prog}_get_info_by_fd()Ilya Leoshkevich4-14/+14
2023-02-16libbpf: Introduce bpf_{btf,link,map,prog}_get_info_by_fd()Ilya Leoshkevich3-0/+34
2023-02-15tools/lib/thermal: Fix include path for libnl3 in pkg-config file.Vibhav Pant1-1/+1
2023-02-15tools/lib/thermal: Fix thermal_sampling_exit()Vincent Guittot1-1/+1
2023-02-10libbpf: Fix alen calculation in libbpf_nla_dump_errormsg()Ilya Leoshkevich1-1/+1
2023-02-08libbpf: Add sample_period to creation optionsJon Doron2-3/+10
2023-02-07libbpf: Always use libbpf_err to return an error in bpf_xdp_query()Lorenzo Bianconi1-1/+1
2023-02-06libbpf: Correctly set the kernel code version in Debian kernel.Hao Xiang2-37/+83
2023-02-02libbpf: add API to get XDP/XSK supported featuresLorenzo Bianconi3-1/+110
2023-02-02libbpf: add the capability to specify netlink proto in libbpf_netlink_send_recvLorenzo Bianconi1-10/+12
2023-01-28libbpf: Fix BPF_PROBE_READ{_STR}_INTO() on s390xIlya Leoshkevich1-2/+2
2023-01-28libbpf: Fix unbounded memory access in bpf_usdt_arg()Ilya Leoshkevich1-1/+4
2023-01-28libbpf: Simplify barrier_var()Ilya Leoshkevich1-1/+1
2023-01-27libbpf: Add documentation to map pinning API functionsGrant Seltzer1-3/+69
2023-01-27libbpf: Fix malformed documentation formattingGrant Seltzer1-6/+12
2023-01-25libbpf: Support sleepable struct_ops.s sectionDavid Vernet1-0/+1
2023-01-23libbpf: Clean up now not needed __PT_PARM{1-6}_SYSCALL_REG defaultsAndrii Nakryiko1-18/+0
2023-01-23libbpf: Define loongarch syscall regs spec in bpf_tracing.hAndrii Nakryiko1-2/+10
2023-01-23libbpf: Define arc syscall regs spec in bpf_tracing.hAndrii Nakryiko1-2/+10
2023-01-23libbpf: Define riscv syscall regs spec in bpf_tracing.hAndrii Nakryiko1-2/+10
2023-01-23libbpf: Define sparc syscall regs spec in bpf_tracing.hAndrii Nakryiko1-0/+8
2023-01-23libbpf: Define powerpc syscall regs spec in bpf_tracing.hAndrii Nakryiko1-2/+13
2023-01-23libbpf: Define mips syscall regs spec in bpf_tracing.hAndrii Nakryiko1-0/+8
2023-01-23libbpf: Define arm64 syscall regs spec in bpf_tracing.hAndrii Nakryiko1-2/+11
2023-01-23libbpf: Define arm syscall regs spec in bpf_tracing.hAndrii Nakryiko1-0/+8
2023-01-23libbpf: Define s390x syscall regs spec in bpf_tracing.hAndrii Nakryiko1-2/+15
2023-01-23libbpf: Define i386 syscall regs spec in bpf_tracing.hAndrii Nakryiko1-0/+8
2023-01-23libbpf: Define x86-64 syscall regs spec in bpf_tracing.hAndrii Nakryiko1-6/+19
2023-01-23libbpf: Improve syscall tracing support in bpf_tracing.hAndrii Nakryiko1-13/+58
2023-01-23libbpf: Add BPF_UPROBE and BPF_URETPROBE macro aliasesAndrii Nakryiko1-0/+7
2023-01-23libbpf: Complete LoongArch (loongarch) spec in bpf_tracing.hAndrii Nakryiko1-1/+7
2023-01-23libbpf: Fix and complete ARC spec in bpf_tracing.hAndrii Nakryiko1-1/+9
2023-01-23libbpf: Complete riscv arch spec in bpf_tracing.hAndrii Nakryiko1-0/+7
2023-01-23libbpf: Complete sparc spec in bpf_tracing.hAndrii Nakryiko1-0/+5
2023-01-23libbpf: Complete powerpc spec in bpf_tracing.hAndrii Nakryiko1-0/+8
2023-01-23libbpf: Complete mips spec in bpf_tracing.hAndrii Nakryiko1-0/+8
2023-01-23libbpf: Fix arm and arm64 specs in bpf_tracing.hAndrii Nakryiko1-1/+11
2023-01-23libbpf: Add 6th argument support for x86-64 in bpf_tracing.hAndrii Nakryiko1-0/+6
2023-01-23libbpf: Add support for fetching up to 8 arguments in kprobesAndrii Nakryiko1-4/+37
2023-01-13libbpf: Replace '.' with '_' in legacy kprobe event nameMenglong Dong1-0/+7
2023-01-10libbpf: Fix map creation flags sanitizationLudovic L'Hours1-1/+1
2023-01-06libbpf: Poison strlcpy()Rong Tao1-2/+2
2023-01-04Merge tag 'for-netdev' of https://git.kernel.org/pub/scm/linux/kernel/git/bpf...Jakub Kicinski9-60/+231
2023-01-03libbpf: Return -ENODATA for missing btf sectionChangbin Du1-1/+1
2023-01-03libbpf: Add LoongArch support to bpf_tracing.hHengqi Chen1-0/+23
2022-12-29libbpf: Restore errno after pr_warn.Alexei Starovoitov1-1/+3
2022-12-29libbpf: Added the description of some API functionsXin Liu1-2/+27
2022-12-29libbpf: Fix invalid return address register in s390Daniel T. Lee1-1/+1
2022-12-28libbpf: fix errno is overwritten after being closed.Xin Liu1-3/+2
2022-12-21libbpf: start v1.2 development cycleAndrii Nakryiko2-1/+4
2022-12-20libbpf: Show error info about missing ".BTF" sectionChangbin Du1-0/+1
2022-12-20libbpf: Fix build warning on ref_ctr_off for 32-bit architecturesKhem Raj1-1/+1
2022-12-16libperf: Fix install_pkgconfig targetAlexander Gordeev1-1/+1
2022-12-16Merge remote-tracking branch 'torvalds/master' into perf/coreArnaldo Carvalho de Melo13-290/+613
2022-12-15libbpf: Fix btf_dump's packed struct determinationAndrii Nakryiko1-27/+6
2022-12-15libbpf: Fix BTF-to-C converter's padding logicAndrii Nakryiko1-45/+122
2022-12-15libbpf: Fix btf__align_of() by taking into account field offsetsAndrii Nakryiko1-0/+13
2022-12-15libbpf: Handle non-standardly sized enums better in BTF-to-C dumperAndrii Nakryiko1-0/+38
2022-12-15libbpf: Fix single-line struct definition output in btf_dumpAndrii Nakryiko1-2/+5
2022-12-14libbpf: Optimized return value in libbpf_strerror when errno is libbpf errnoXin Liu1-4/+12
2022-12-14tools lib traceevent: Remove libtraceeventIan Rogers69-19875/+0
2022-12-14tools lib symbol: Add dependency test to install_headersIan Rogers1-7/+14
2022-12-14tools lib subcmd: Add dependency test to install_headersIan Rogers1-10/+13
2022-12-14tools lib perf: Add dependency test to install_headersIan Rogers1-21/+22
2022-12-14tools lib api: Add dependency test to install_headersIan Rogers1-12/+26
2022-12-06libbpf: Parse usdt args without offset on x86 (e.g. 8@(%rsp))Timo Hunziker1-0/+8
2022-12-02libbpf: Improve usability of libbpf MakefileXin Liu1-0/+17
2022-11-30libbpf: Avoid enum forward-declarations in public API in C++ modeAndrii Nakryiko1-0/+7
2022-11-29Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski3-8/+22
2022-11-22selftests/bpf: Workaround for llvm nop-4 bugAlexei Starovoitov1-1/+2
2022-11-20tools lib traceevent: Make install_headers clearerIan Rogers1-2/+2
2022-11-20tools lib subcmd: Make install_headers clearerIan Rogers1-1/+1
2022-11-20tools lib perf: Make install_headers clearerIan Rogers1-1/+1
2022-11-20tools lib symbol: Clean up build outputIan Rogers1-2/+2
2022-11-20tools lib bpf: Avoid install_headers make warningIan Rogers1-0/+1
2022-11-20tools lib api: Clean up install_headersIan Rogers1-2/+2
2022-11-18libbpf: Ignore hashmap__find() result explicitly in btf_dumpAndrii Nakryiko1-1/+1
2022-11-17libbpf: Check the validity of size in user_ring_buffer__reserve()Hou Tao1-0/+4
2022-11-17libbpf: Handle size overflow for user ringbuf mmapHou Tao1-2/+8
2022-11-17libbpf: Handle size overflow for ringbuf mmapHou Tao1-4/+8
2022-11-17libbpf: Use page size as max_entries when probing ring buffer mapHou Tao1-1/+1
2022-11-16libperf: Add missing 'struct perf_cpu_map' forward declaration to perf/cpumap.hArnaldo Carvalho de Melo1-0/+2
2022-11-16libperf: Remove recursive perf/cpumap.h include from perf/cpumap.hArnaldo Carvalho de Melo1-1/+0
2022-11-16tool lib symbol: Add Makefile/BuildIan Rogers2-0/+116
2022-11-16tools lib perf: Add missing install headersIan Rogers1-1/+9
2022-11-16tools lib api: Add missing install headersIan Rogers1-1/+4
2022-11-16tools lib subcmd: Add install targetIan Rogers1-0/+49
2022-11-16tools lib api: Add install targetIan Rogers1-0/+49
2022-11-15tools lib api fs tracing_path: Add scandir alphasortIan Rogers2-0/+17
2022-11-14libbpf: checkpatch: Fixed code alignments in ringbuf.cKang Minchul1-2/+2
2022-11-14libbpf: Fixed various checkpatch issues in libbpf.cKang Minchul1-17/+28
2022-11-14libbpf: checkpatch: Fixed code alignments in btf.cKang Minchul1-2/+3
2022-11-14libbpf: Use correct return pointer in attach_raw_tpJiri Olsa1-1/+1
2022-11-14libbpf: Fix uninitialized warning in btf_dump_dump_type_dataDavid Michael1-1/+1
2022-11-11libbpf: Hashmap.h update to fix build issues using LLVM14Eduard Zingerman1-1/+2
2022-11-09libbpf: Resolve unambigous forward declarationsEduard Zingerman1-4/+139
2022-11-09libbpf: Hashmap interface update to allow both long and void* keys/valuesEduard Zingerman7-109/+119
2022-11-04libbpf: Resolve enum fwd as full enum64 and vice versaEduard Zingerman1-50/+25
2022-11-02Merge tag 'for-netdev' of https://git.kernel.org/pub/scm/linux/kernel/git/bpf...Jakub Kicinski4-78/+125
2022-10-25libbpf: Support new cgroup local storageYonghong Song2-0/+2
2022-10-25libbpf: Btf dedup identical struct test needs check for nested structs/arraysAlan Maguire1-3/+5
2022-10-21libbpf: Avoid allocating reg_name with sscanf in parse_usdt_arg()Xu Kuohai1-10/+6
2022-10-20Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-3/+2
2022-10-19libbpf: only add BPF_F_MMAPABLE flag for data maps with global varsAndrii Nakryiko1-19/+78
2022-10-19libbpf: clean up and refactor BTF fixup stepAndrii Nakryiko1-54/+42
2022-10-18Merge tag 'for-netdev' of git://git.kernel.org/pub/scm/linux/kernel/git/bpf/b...Jakub Kicinski6-21/+117
2022-10-14libperf: Do not include non-UAPI linux/compiler.h headerArnaldo Carvalho de Melo1-3/+2
2022-10-13libbpf: Fix null-pointer dereference in find_prog_by_sec_insn()Shung-Hsi Yu1-0/+3
2022-10-13libbpf: Deal with section with no data gracefullyShung-Hsi Yu1-1/+5
2022-10-13libbpf: Use elf_getshdrnum() instead of e_shnumShung-Hsi Yu1-4/+9
2022-10-13libbpf: Fix memory leak in parse_usdt_arg()Xu Kuohai1-7/+4
2022-10-13libbpf: Fix use-after-free in btf_dump_name_dupsXu Kuohai1-3/+26
2022-10-11Merge tag 'perf-tools-for-v6.1-1-2022-10-07' of git://git.kernel.org/pub/scm/...Linus Torvalds6-19/+46
2022-10-10libbpf: Introduce bpf_link_get_fd_by_id_opts()Roberto Sassu3-1/+14
2022-10-10libbpf: Introduce bpf_btf_get_fd_by_id_opts()Roberto Sassu3-1/+14
2022-10-10libbpf: Introduce bpf_prog_get_fd_by_id_opts()Roberto Sassu3-1/+14
2022-10-10libbpf: Introduce bpf_get_fd_by_id_opts and bpf_map_get_fd_by_id_opts()Roberto Sassu3-1/+22
2022-10-10libbpf: Fix LIBBPF_1.0.0 declaration in libbpf.mapRoberto Sassu1-1/+1
2022-10-10Merge tag 'bitmap-6.1-rc1' of https://github.com/norov/linuxLinus Torvalds1-80/+69
2022-10-06perf tools: Remove special handling of system-wide evselNamhyung Kim1-3/+0
2022-10-06libperf: Propagate maps only if necessaryNamhyung Kim2-7/+5
2022-10-06libperf: Populate system-wide evsel mapsNamhyung Kim1-6/+9
2022-10-05bpftool: Print newline before '}' for struct with padding only fieldsEduard Zingerman1-1/+5
2022-10-04Merge tag 'net-next-6.1' of git://git.kernel.org/pub/scm/linux/kernel/git/net...Linus Torvalds19-222/+817
2022-10-04perf subcmd: Set environment variable "PREFIX"Leo Yan1-0/+3
2022-10-04perf tools: Add debug messages and comments for testingAdrian Hunter1-0/+2
2022-10-04perf cpumap: Add range data encodingIan Rogers1-0/+14
2022-10-04perf events: Prefer union over variable length arrayIan Rogers1-1/+10
2022-10-04perf record: Fix way of handling non-perf-event pollfdsAdrian Hunter1-2/+3
2022-10-03Merge https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextJakub Kicinski13-106/+596
2022-09-30libbpf: Fix overrun in netlink attribute iterationXin Liu1-1/+1
2022-09-28kallsyms: increase maximum kernel symbol length to 512Miguel Ojeda2-2/+2
2022-09-27libbpf: Don't require full struct enum64 in UAPI headersAndrii Nakryiko1-1/+24
2022-09-26libbpf: Fix the case of running as non-root with capabilitiesJon Doron3-5/+5
2022-09-23libbpf: restore memory layout of bpf_object_open_optsAndrii Nakryiko1-1/+3
2022-09-23libbpf: Add pathname_concat() helperWang Yufen1-47/+29
2022-09-22Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-2/+53
2022-09-21libbpf: Support raw BTF placed in the default search pathTao Chen1-18/+12
2022-09-21libbpf: Improve BPF_PROG2 macro code quality and descriptionYonghong Song1-60/+88
2022-09-21bpf: Add libbpf logic for user-space ring bufferDavid Vernet6-3/+398
2022-09-21bpf: Define new BPF_MAP_TYPE_USER_RINGBUF map typeDavid Vernet1-0/+1
2022-09-21tools: sync find_bit() implementationYury Norov1-80/+69
2022-09-21libperf evlist: Fix polling of system-wide eventsAdrian Hunter1-2/+3
2022-09-20libbpf: Fix NULL pointer exception in API btf_dump__dump_type_dataXin Liu1-1/+1
2022-09-16libbpf: Clean up legacy bpf maps declaration in bpf_helpersXin Liu1-12/+0
2022-09-16libbpf: Fix crash if SEC("freplace") programs don't have attach_prog_fd setAndrii Nakryiko1-4/+9
2022-09-09libbpf: Remove gcc support for bpf_tail_call_static for nowDaniel Borkmann1-13/+6
2022-09-08libperf evlist: Fix per-thread mmaps for multi-threaded targetsAdrian Hunter1-0/+50
2022-09-06libbpf: Add new BPF_PROG2 macroYonghong Song1-0/+79
2022-09-06Merge https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextPaolo Abeni2-6/+36
2022-08-31libbpf: Add GCC support for bpf_tail_call_staticJames Hilliard1-6/+13
2022-08-25libbpf: add map_get_fd_by_id and map_delete_elem in light skeletonBenjamin Tissoires1-0/+23
2022-08-25Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski6-9/+289
2022-08-19libperf: Add a test case for read formatsNamhyung Kim1-0/+161