Commit Graph

  • 86eb09863c sync: latest libbpf changes from kernel Andrii Nakryiko 2022-05-16 13:45:10 -07:00
  • d43fc5a42f libbpf: fix memory leak in attach_tp for target-less tracepoint program Andrii Nakryiko 2022-05-16 11:45:47 -07:00
  • 12e932ac0e ci: whitelist 'usdt' test on 5.5 and update vmlinux.h Andrii Nakryiko 2022-05-13 13:34:19 -07:00
  • 75452cd290 sync: latest libbpf changes from kernel Andrii Nakryiko 2022-05-13 11:31:34 -07:00
  • ae67bfbae3 sync: auto-generate latest BPF helpers Andrii Nakryiko 2022-05-13 11:31:34 -07:00
  • 650adc5118 libbpf: Add safer high-level wrappers for map operations Andrii Nakryiko 2022-05-12 15:07:12 -07:00
  • babc92b9f1 bpf: add bpf_map_lookup_percpu_elem for percpu map Feng Zhou 2022-05-11 17:38:53 +08:00
  • e335f3fa5f libbpf: Add bpf_program__set_insns function Jiri Olsa 2022-05-10 09:46:57 +02:00
  • 7062757357 libbpf: Clean up ringbuf size adjustment implementation Andrii Nakryiko 2022-05-10 11:51:59 -07:00
  • aec48fffee libbpf: Assign cookies to links in libbpf. Kui-Feng Lee 2022-05-10 13:59:22 -07:00
  • c116ae6130 bpf, x86: Attach a cookie to fentry/fexit/fmod_ret/lsm. Kui-Feng Lee 2022-05-10 13:59:21 -07:00
  • 99b21d41e3 bpf, x86: Generate trampolines from bpf_tramp_links Kui-Feng Lee 2022-05-10 13:59:19 -07:00
  • 7a443259de bpf: Add source ip in "struct bpf_tunnel_key" Kaixi Fan 2022-04-30 15:48:42 +08:00
  • b3197662ba libbpf: Automatically fix up BPF_MAP_TYPE_RINGBUF size, if necessary Andrii Nakryiko 2022-05-08 17:41:47 -07:00
  • 486b1a080b libbpf: Provide barrier() and barrier_var() in bpf_helpers.h Andrii Nakryiko 2022-05-08 17:41:46 -07:00
  • ba9850c048 libbpf: Complete field-based CO-RE helpers with field offset helper Andrii Nakryiko 2022-05-08 17:41:44 -07:00
  • 5c1d6799df libbpf: Improve usability of field-based CO-RE helpers Andrii Nakryiko 2022-05-08 17:41:42 -07:00
  • 1f30788b41 libbpf: Make __kptr and __kptr_ref unconditionally use btf_type_tag() attr Andrii Nakryiko 2022-05-08 17:41:41 -07:00
  • a8bc578af9 libbpf: Allow to opt-out from creating BPF maps Andrii Nakryiko 2022-04-27 21:15:22 -07:00
  • d46f1aaa7c libbpf: Use libbpf_mem_ensure() when allocating new map Andrii Nakryiko 2022-04-27 21:15:21 -07:00
  • 1a18c6f051 libbpf: Append "..." in fixed up log if CO-RE spec is truncated Andrii Nakryiko 2022-04-27 21:15:20 -07:00
  • 97ab064bc0 libbpf: Support target-less SEC() definitions for BTF-backed programs Andrii Nakryiko 2022-04-28 11:53:48 -07:00
  • eee09dc704 libbpf: Allow "incomplete" basic tracing SEC() definitions Andrii Nakryiko 2022-04-28 11:53:47 -07:00
  • 87dff0a2c7 vmtest: allow building foreign debian rootfs Ilya Leoshkevich 2022-05-09 12:59:54 +02:00
  • 14777c3784 vmtest: use debian bookworm Ilya Leoshkevich 2022-05-09 12:53:42 +02:00
  • 3a4e26307d sync: latest libbpf changes from kernel Andrii Nakryiko 2022-04-27 12:31:35 -07:00
  • ef6f1fdfff sync: auto-generate latest BPF helpers Andrii Nakryiko 2022-04-27 12:31:35 -07:00
  • c3f58eb6cf libbpf: Fix up verifier log for unguarded failed CO-RE relos Andrii Nakryiko 2022-04-25 17:45:10 -07:00
  • 2c3a55bfe7 libbpf: Simplify bpf_core_parse_spec() signature Andrii Nakryiko 2022-04-25 17:45:09 -07:00
  • e2d8a820cb libbpf: Refactor CO-RE relo human description formatting routine Andrii Nakryiko 2022-04-25 17:45:08 -07:00
  • aaaeea6499 libbpf: Record subprog-resolved CO-RE relocations unconditionally Andrii Nakryiko 2022-04-25 17:45:07 -07:00
  • f2e994e0b7 libbpf: Avoid joining .BTF.ext data with BPF programs by section name Andrii Nakryiko 2022-04-25 17:45:05 -07:00
  • eb22de1f7d libbpf: Fix logic for finding matching program for CO-RE relocation Andrii Nakryiko 2022-04-25 17:45:04 -07:00
  • 0a901dd1cd libbpf: Drop unhelpful "program too large" guess Andrii Nakryiko 2022-04-25 17:45:03 -07:00
  • 36582ee432 libbpf: Fix anonymous type check in CO-RE logic Andrii Nakryiko 2022-04-25 17:45:02 -07:00
  • e7f46e2cae libbpf: Add kptr type tag macros to bpf_helpers.h Kumar Kartikeya Dwivedi 2022-04-25 03:18:58 +05:30
  • 179ca056b0 bpf: Allow storing referenced kptr in map Kumar Kartikeya Dwivedi 2022-04-25 03:18:51 +05:30
  • 56dff81d46 libbpf: Remove unnecessary type cast Yuntao Wang 2022-04-24 22:34:20 +08:00
  • 0d4cefc4fc libbpf: Teach bpf_link_create() to fallback to bpf_raw_tracepoint_open() Andrii Nakryiko 2022-04-20 20:39:44 -07:00
  • 5954a6c4aa libbpf: Improve libbpf API documentation link position Grant Seltzer 2022-04-21 23:10:50 -04:00
  • 38be0379c9 libbpf: Remove redundant non-null checks on obj_elf Gaosheng Cui 2022-04-21 11:18:03 +08:00
  • 5fa8bb6b42 libbpf: Add documentation to API functions Grant Seltzer 2022-04-20 12:12:26 -04:00
  • c5b91a333e libbpf: Update API functions usage to check error Grant Seltzer 2022-04-20 12:12:25 -04:00
  • 8073e03491 libbpf: Add error returns to two API functions Grant Seltzer 2022-04-20 12:12:24 -04:00
  • eb2b216081 libbpf: Support riscv USDT argument parsing logic Pu Lehui 2022-04-19 22:52:38 +08:00
  • bddd106e80 libbpf: Fix usdt_cookie being cast to 32 bits Pu Lehui 2022-04-19 22:52:37 +08:00
  • e205664ddb libbpf: Support opting out from autoloading BPF programs declaratively Andrii Nakryiko 2022-04-18 17:24:50 -07:00
  • 557499a13e libbpf: Usdt aarch64 arg parsing support Alan Maguire 2022-04-11 16:21:36 +01:00
  • ffd4015f3b libbpf: Fix a bug with checking bpf_probe_read_kernel() support in old kernels Runqing Yang 2022-04-09 22:49:28 +08:00
  • 68e7624e9f libbpf: Add ARC support to bpf_tracing.h Vladimir Isaev 2022-04-09 01:44:42 +03:00
  • b221db664f ci: enable synproxy config for all architectures Maxim Mikityanskiy 2022-04-27 20:10:46 +03:00
  • 7bf9ee2dba [rootfs] update rootfs to ship with ethtool chantra 2022-04-25 15:19:46 -07:00
  • 533c7666eb Fix downloads formats grantseltzer 2022-04-21 22:59:52 -04:00
  • dea5ae9fc9 Enable downloads feature grantseltzer 2022-04-19 12:49:38 -04:00
  • 8bc3e510fc ci: turn off _FORTIFY_SOURCE explicitly Evgeny Vereshchagin 2022-04-11 00:23:02 +00:00
  • 14414c6ea5 ci: turn on the alignment check Evgeny Vereshchagin 2022-04-10 23:02:56 +00:00
  • ea10235072 ci: point elfutils to a commit where a couple bugs are fixed Evgeny Vereshchagin 2022-04-09 23:50:29 +00:00
  • f3cc144922 ci: turn off unaligned access in libelf explicitly Evgeny Vereshchagin 2022-04-09 23:42:44 +00:00
  • b69f8ee93e ci: allow usdt selftest on s390x Andrii Nakryiko 2022-04-08 22:02:03 -07:00
  • bbfb018473 sync: latest libbpf changes from kernel Andrii Nakryiko 2022-04-08 19:52:28 -07:00
  • 1ce956ab3a libbpf: Use weak hidden modifier for USDT BPF-side API functions Andrii Nakryiko 2022-04-08 11:14:24 -07:00
  • 5016f30a24 libbpf: Don't error out on CO-RE relos for overriden weak subprogs Andrii Nakryiko 2022-04-08 11:14:23 -07:00
  • 075c96c298 libbpf: Allow WEAK and GLOBAL bindings during BTF fixup Andrii Nakryiko 2022-04-07 16:04:46 -07:00
  • f044607934 libbpf: Use strlcpy() in path resolution fallback logic Andrii Nakryiko 2022-04-07 16:04:45 -07:00
  • 4fd682d358 libbpf: Add s390-specific USDT arg spec parsing logic Ilya Leoshkevich 2022-04-07 23:44:11 +02:00
  • 3663820dda libbpf: Make BPF-side of USDT support work on big-endian machines Ilya Leoshkevich 2022-04-07 23:44:10 +02:00
  • fcb67a3e70 libbpf: Minor style improvements in USDT code Ilya Leoshkevich 2022-04-07 23:44:09 +02:00
  • 73b8386f2e libbpf: Fix use #ifdef instead of #if to avoid compiler warning Andrii Nakryiko 2022-04-07 13:38:42 -07:00
  • 462e3f600a libbpf: Potential NULL dereference in usdt_manager_attach_usdt() Haowen Bai 2022-04-07 10:38:17 +08:00
  • 13fe7fedfa libbpf: Improve string parsing for uprobe auto-attach Alan Maguire 2022-04-06 12:43:50 +01:00
  • b974879969 libbpf: Improve library identification for uprobe binary path resolution Alan Maguire 2022-04-06 12:43:49 +01:00
  • 2b674f2b21 libbpf: Fix spelling mistake "libaries" -> "libraries" Colin Ian King 2022-04-06 09:08:35 +01:00
  • 5810af7446 Makefile: Add usdt.bpf.h to list of HEADERS Hengqi Chen 2022-04-07 11:11:21 +08:00
  • 042471d356 ci: blacklist usdt selftest on s390x Andrii Nakryiko 2022-04-05 23:31:31 -07:00
  • f7833c0819 ci: ensure CONFIG_DEBUG_INFO_BTF=y by choosing DWARF debug info Andrii Nakryiko 2022-04-05 23:29:32 -07:00
  • c562444fb0 Makefile: add usdt.o to list of OBJS Andrii Nakryiko 2022-04-05 21:56:22 -07:00
  • 750c9fb595 sync: latest libbpf changes from kernel Andrii Nakryiko 2022-04-05 21:32:44 -07:00
  • 08cc701fae sync: auto-generate latest BPF helpers Andrii Nakryiko 2022-04-05 21:32:44 -07:00
  • fa323673c5 libbpf: Add x86-specific USDT arg spec parsing logic Andrii Nakryiko 2022-04-04 16:42:00 -07:00
  • 876b933999 libbpf: Wire up spec management and other arch-independent USDT logic Andrii Nakryiko 2022-04-04 16:41:59 -07:00
  • 406386b441 libbpf: Add USDT notes parsing and resolution logic Andrii Nakryiko 2022-04-04 16:41:58 -07:00
  • 1b4b798916 libbpf: Wire up USDT API and bpf_link integration Andrii Nakryiko 2022-04-04 16:41:57 -07:00
  • f5390e4f07 libbpf: Add BPF-side of USDT support Andrii Nakryiko 2022-04-04 16:41:56 -07:00
  • 00cd090f81 libbpf: Support Debian in resolve_full_path() Ilya Leoshkevich 2022-04-05 00:50:20 +02:00
  • 0167a314e7 libbpf: Don't return -EINVAL if hdr_len < offsetofend(core_relo_len) Yuntao Wang 2022-04-04 08:53:20 +08:00
  • 8dcb95d509 libbpf: Add auto-attach for uprobes based on section name Alan Maguire 2022-03-30 16:26:38 +01:00
  • d112c9ce24 libbpf: Support function name-based attach uprobes Alan Maguire 2022-03-30 16:26:37 +01:00
  • 4a7fa5b2bc libbpf: auto-resolve programs/libraries when necessary for uprobes Alan Maguire 2022-03-30 16:26:36 +01:00
  • ff845b85e8 bpf: Correct the comment for BTF kind bitfield Haiyue Wang 2022-04-03 19:53:26 +08:00
  • fee7b9400a bpf: Sync comments for bpf_get_stack Geliang Tang 2022-03-24 16:37:32 +08:00
  • 360ed84faa libbpf: Close fd in bpf_object__reuse_map Hengqi Chen 2022-03-19 11:05:33 +08:00
  • 3fbed0f1b2 perf: Add irq and exception return branch types Anshuman Khandual 2022-02-24 11:06:54 +05:30
  • 67a4b14643 ci: remove subprogs from 5.5 whitelist Andrii Nakryiko 2022-03-19 22:01:18 -07:00
  • 7db9ce5fda libbpf: avoid NULL deref when initializing map BTF info Andrii Nakryiko 2022-03-19 17:16:16 -07:00
  • f1b6bc31a5 ci: update s390x blacklist Andrii Nakryiko 2022-03-19 13:53:03 -07:00
  • 3ef1813702 sync: latest libbpf changes from kernel Andrii Nakryiko 2022-03-19 12:34:17 -07:00
  • d580bc49d1 sync: auto-generate latest BPF helpers Andrii Nakryiko 2022-03-19 12:34:16 -07:00
  • cc4ef17c78 libbpf: Add subskeleton scaffolding Delyan Kratunov 2022-03-16 23:37:33 +00:00
  • e7084d4363 libbpf: Init btf_{key,value}_type_id on internal map open Delyan Kratunov 2022-03-16 23:37:30 +00:00
  • c2ec92f0ee libbpf: .text routines are subprograms in strict mode Delyan Kratunov 2022-03-16 23:37:24 +00:00