Commit Graph

  • 09397e309a libbpf: Add bpf_link support for BPF_PROG_TYPE_SOCKMAP Yonghong Song 2024-04-09 21:35:32 -07:00
  • 62217fb32a bpf: Add bpf_link support for sk_msg and sk_skb progs Yonghong Song 2024-04-09 21:35:27 -07:00
  • b521a722b9 libbpf: Add ring__consume_n / ring_buffer__consume_n Andrea Righi 2024-04-06 11:15:43 +02:00
  • 98de9ace4d libbpf: ringbuf: Allow to consume up to a certain amount of items Andrea Righi 2024-04-06 11:15:42 +02:00
  • 26d9ab5f78 libbpf: Start v1.5 development cycle Andrea Righi 2024-04-06 11:15:41 +02:00
  • c5219d1b3d bpf: Pack struct bpf_fib_lookup Anton Protopopov 2024-04-03 14:33:03 +02:00
  • 8d3a3e138b libbpf: Use local bpf_helpers.h include Tobias Böhm 2024-04-02 17:10:52 +02:00
  • 9f2853a352 bpf: Fix typo in uapi doc comments David Lechner 2024-03-29 10:28:46 -05:00
  • d2f83fb976 libbpf: Handle <orig_name>.llvm.<hash> symbol properly Yonghong Song 2024-03-25 21:14:58 -07:00
  • 8b9cb7d479 libbpf: Mark libbpf_kallsyms_parse static function Yonghong Song 2024-03-25 21:14:53 -07:00
  • b062410166 bpf: improve error message for unsupported helper Mykyta Yatsenko 2024-03-25 15:22:10 +00:00
  • 89d8cdf741 bpf: Add support for passing mark with bpf_fib_lookup Anton Protopopov 2024-03-26 10:17:40 +00:00
  • 8a2054f417 ci/diffs: Add temporary fix for mitigation config Song Liu 2024-04-23 10:10:58 -07:00
  • 0dbbb4e7e0 Apply patch to run binaries on Debian 10 netdata_patch_1_4 thiagoftsm 2024-04-21 15:02:37 +00:00
  • b981a3a138 Merge branch 'libbpf:master' into master v1.4.0p_netdata thiagoftsm 2024-04-21 14:42:55 +00:00
  • 46eafba62e ci: bump run-on-arch action to v2.7.1 Geyslan Gregório 2024-04-02 21:56:42 -03:00
  • 6d3595d215 ci: bump checkout action to v4 Geyslan Gregório 2024-04-02 09:47:17 -03:00
  • 20ea95b450 ci: sync DENYLISTs with BPF CI Andrii Nakryiko 2024-03-25 21:27:07 -07:00
  • 902af6913a ci: clean up temporary patch Andrii Nakryiko 2024-03-25 20:29:37 -07:00
  • 25a9cc27d7 ci: regenerate latest vmlinux.h Andrii Nakryiko 2024-03-25 17:44:41 -07:00
  • 8db4a2feeb sync: latest libbpf changes from kernel Andrii Nakryiko 2024-03-25 15:52:27 -07:00
  • 7fee466676 libbpf: Define MFD_CLOEXEC if not available Arnaldo Carvalho de Melo 2024-03-21 13:01:58 -03:00
  • ddf722fb5c libbpf: fix u64-to-pointer cast on 32-bit arches Andrii Nakryiko 2024-03-19 14:51:43 -07:00
  • 137193b655 libbpf, selftests/bpf: Adjust libbpf, bpftool, selftests to match LLVM Alexei Starovoitov 2024-03-14 19:18:32 -07:00
  • d2676a58de bpf: Sync uapi bpf.h to tools directory Yonghong Song 2024-03-24 20:38:42 -07:00
  • 4d95d8b7f0 libbpf: Add new sec_def "sk_skb/verdict" Yonghong Song 2024-03-19 10:54:12 -07:00
  • f5828cc352 libbpf: add support for BPF cookie for raw_tp/tp_btf programs Andrii Nakryiko 2024-03-19 16:38:51 -07:00
  • cbd6e3596c bpf: support BPF cookie in raw tracepoint (raw_tp, tp_btf) programs Andrii Nakryiko 2024-03-19 16:38:50 -07:00
  • 7cfc365995 libbpbpf: Check bpf_map/bpf_program fd validity Mykyta Yatsenko 2024-03-18 13:18:08 +00:00
  • a5459eac49 libbpf: Skip zeroed or null fields if not found in the kernel type. Kui-Feng Lee 2024-03-13 14:41:37 -07:00
  • f84ee80801 libbpf: Prevent null-pointer dereference when prog to load has no BTF Quentin Monnet 2024-03-14 15:04:38 +00:00
  • 2d042d22a7 libbpf: Recognize __arena global variables. Andrii Nakryiko 2024-03-07 17:08:08 -08:00
  • 4524a45a2a libbpf: Add support for bpf_arena. Alexei Starovoitov 2024-03-07 17:08:06 -08:00
  • 086825355f libbpf: Add __arg_arena to bpf_helpers.h Alexei Starovoitov 2024-03-07 17:08:05 -08:00
  • 6de941bc1e bpf: Disasm support for addr_space_cast instruction. Alexei Starovoitov 2024-03-07 17:08:00 -08:00
  • 1675c13fae bpf: Introduce bpf_arena. Alexei Starovoitov 2024-03-07 17:07:59 -08:00
  • 385d344839 libbpf: Allow specifying 64-bit integers in map BTF. Alexei Starovoitov 2024-03-06 19:12:26 -08:00
  • d71c0ed2ef netdev: add queue stat for alloc failures Jakub Kicinski 2024-03-06 11:55:08 -08:00
  • 5e80833e50 netdev: add per-queue statistics Jakub Kicinski 2024-03-06 11:55:07 -08:00
  • 2778cbce60 ci: add xdp_bonding fixes from bpf/master Andrii Nakryiko 2024-03-06 13:57:05 -08:00
  • 4f875865b7 sync: latest libbpf changes from kernel Andrii Nakryiko 2024-03-06 11:44:53 -08:00
  • 438adf417d libbpf: Rewrite btf datasec names starting from '?' Eduard Zingerman 2024-03-06 12:45:26 +02:00
  • fc8b86bda2 libbpf: Struct_ops in SEC("?.struct_ops") / SEC("?.struct_ops.link") Eduard Zingerman 2024-03-06 12:45:25 +02:00
  • d5d0b6e920 libbpf: Replace elf_state->st_ops_* fields with SEC_ST_OPS sec_type Eduard Zingerman 2024-03-06 12:45:24 +02:00
  • 060c604db8 libbpf: Sync progs autoload with maps autocreate for struct_ops maps Eduard Zingerman 2024-03-06 12:45:22 +02:00
  • cb426140d0 libbpf: Honor autocreate flag for struct_ops maps Eduard Zingerman 2024-03-06 12:45:17 +02:00
  • aded62b120 libbpf: Tie struct_ops programs to kernel BTF ids, not to local ids Eduard Zingerman 2024-03-06 12:45:16 +02:00
  • f7fd5dbc07 libbpf: Allow version suffixes (___smth) for struct_ops types Eduard Zingerman 2024-03-06 12:45:15 +02:00
  • 00b08dceea bpf: Introduce may_goto instruction Alexei Starovoitov 2024-03-05 19:19:26 -08:00
  • bf52494e2b libbpf: Correct debug message in btf__load_vmlinux_btf Chen Shen 2024-03-02 14:22:18 +08:00
  • acfaeffeaa libbpf: Convert st_ops->data to shadow type. Kui-Feng Lee 2024-02-28 22:45:20 -08:00
  • 0758d8b0f2 libbpf: Set btf_value_type_id of struct bpf_map for struct_ops. Kui-Feng Lee 2024-02-28 22:45:19 -08:00
  • fa4d00254d bpf: Replace bpf_lpm_trie_key 0-length array with flexible array Kees Cook 2024-02-22 07:56:15 -08:00
  • f749be80b7 bonding: Add independent control state machine Aahil Awatramani 2024-02-02 17:58:58 +00:00
  • fb98d4bd25 include: fix BPF_CALL_REL definition Andrii Nakryiko 2024-03-01 15:28:37 -08:00
  • f4e9b606f4 ci: clean up bpf_test_no_cfi.ko for v5.5.0 and v4.9.0. Kui-Feng Lee 2024-02-26 15:00:35 -08:00
  • ff95bd6238 sync: latest libbpf changes from kernel Kui-Feng Lee 2024-02-26 13:04:02 -08:00
  • a894b0cb9b tools headers UAPI: Sync linux/fcntl.h with the kernel sources Arnaldo Carvalho de Melo 2024-01-25 11:23:56 -03:00
  • afa81fb1cb bpf: Clarify batch lookup/lookup_and_delete semantics Martin Kelly 2024-02-21 13:18:38 -08:00
  • 16e68ab13c libbpf: Make remark about zero-initializing bpf_*_info structs Matt Bobrowski 2024-02-14 09:14:23 +00:00
  • b19fdbf1be libbpf: Add support to GCC in CORE macro definitions Cupertino Miranda 2024-02-13 17:35:43 +00:00
  • 445486dcbf ci: Pass arch parameter to setup-build-env Manu Bretelle 2024-02-15 10:35:29 -08:00
  • 820bca2cb6 ci: verifier_global_subprogs can't be run on 5.5 Andrii Nakryiko 2024-02-06 11:50:33 -08:00
  • 8a8feae5f4 sync: latest libbpf changes from kernel Andrii Nakryiko 2024-02-06 10:18:45 -08:00
  • a20b60f971 libbpf: Use OPTS_SET() macro in bpf_xdp_query() Toke Høiland-Jørgensen 2024-02-06 13:59:22 +01:00
  • b24a6277cc libbpf: fix return value for PERF_EVENT __arg_ctx type fix up check Andrii Nakryiko 2024-02-05 16:22:43 -08:00
  • 25fe467af4 ci: allowlist tests validating libbpf's __arg_ctx type rewrite logic Andrii Nakryiko 2024-02-05 15:56:28 -08:00
  • f11758a780 sync: latest libbpf changes from kernel Andrii Nakryiko 2024-02-01 13:53:40 -08:00
  • cbb8ba352d sync: auto-generate latest BPF helpers Andrii Nakryiko 2024-02-01 13:53:40 -08:00
  • 95b4beb502 libbpf: Add missed btf_ext__raw_data() API Andrii Nakryiko 2024-02-01 09:20:26 -08:00
  • 5b7613e50f libbpf: Add btf__new_split() API that was declared but not implemented Andrii Nakryiko 2024-02-01 09:20:25 -08:00
  • 245394fb36 libbpf: Add missing LIBBPF_API annotation to libbpf_set_memlock_rlim API Andrii Nakryiko 2024-02-01 09:20:24 -08:00
  • 3b19b1bb55 libbpf: Call memfd_create() syscall directly Andrii Nakryiko 2024-02-01 09:20:23 -08:00
  • 7529e0c4c7 libbpf: Remove unnecessary null check in kernel_supports() Eduard Zingerman 2024-01-31 23:26:15 +02:00
  • 688879fb01 libbpf: add bpf_core_cast() macro Andrii Nakryiko 2024-01-30 13:20:22 -08:00
  • 0303e25be3 libbpf: add __arg_trusted and __arg_nullable tag macros Andrii Nakryiko 2024-01-29 16:06:47 -08:00
  • 9b306ac9be libbpf: Add some details for BTF parsing failures Ian Rogers 2024-01-25 15:18:40 -08:00
  • c57fb75864 libbpf: fix __arg_ctx type enforcement for perf_event programs Andrii Nakryiko 2024-01-25 12:55:05 -08:00
  • 0b412d1918 libbpf: integrate __arg_ctx feature detector into kernel_supports() Andrii Nakryiko 2024-01-25 12:55:04 -08:00
  • 3b09738928 sync: remove NETDEV_XSK_FLAGS_MASK which is not in bpf/bpf-next anymore Andrii Nakryiko 2024-01-29 10:20:21 -08:00
  • 5139f12ef1 sync: latest libbpf changes from kernel Andrii Nakryiko 2024-01-29 10:13:52 -08:00
  • 830e0d017b libbpf: Fix faccessat() usage on Android Andrii Nakryiko 2024-01-26 14:09:44 -08:00
  • fad5d91381 libbpf: make sure linux/kernel.h includes linux/compiler.h Andrii Nakryiko 2024-01-26 14:56:10 -08:00
  • 8ca30626cc Makefile: add features.o to Makefile Andrii Nakryiko 2024-01-26 14:38:33 -08:00
  • 274d6037f8 libbpf: add BPF_CALL_REL() macro implementation Andrii Nakryiko 2024-01-26 14:08:03 -08:00
  • 0f84f3bef6 ci: regenerate vmlinux.h Andrii Nakryiko 2024-01-26 14:18:08 -08:00
  • 3dea2db84b ci: drop custom patches for fixing upstream kernel issues Andrii Nakryiko 2024-01-26 14:03:56 -08:00
  • 2f81310ec0 sync: latest libbpf changes from kernel Andrii Nakryiko 2024-01-25 18:33:27 -08:00
  • 0e57fade4e sync: auto-generate latest BPF helpers Andrii Nakryiko 2024-01-25 18:33:27 -08:00
  • a36646e2b3 libbpf: Support BPF token path setting through LIBBPF_BPF_TOKEN_PATH envvar Andrii Nakryiko 2024-01-23 18:21:25 -08:00
  • e1a43809a9 libbpf: Wire up BPF token support at BPF object level Andrii Nakryiko 2024-01-23 18:21:22 -08:00
  • a3b317a9c0 libbpf: Wire up token_fd into feature probing logic Andrii Nakryiko 2024-01-23 18:21:21 -08:00
  • d42f0b8943 libbpf: Move feature detection code into its own file Andrii Nakryiko 2024-01-23 18:21:20 -08:00
  • 9bf95048b7 libbpf: Further decouple feature checking logic from bpf_object Andrii Nakryiko 2024-01-23 18:21:19 -08:00
  • 9454419946 libbpf: Split feature detectors definitions from cached results Andrii Nakryiko 2024-01-23 18:21:18 -08:00
  • 8082a311d3 libbpf: Add BPF token support to bpf_prog_load() API Andrii Nakryiko 2024-01-23 18:21:12 -08:00
  • ac4a66ea12 libbpf: Add BPF token support to bpf_btf_load() API Andrii Nakryiko 2024-01-23 18:21:11 -08:00
  • 8002c052f3 libbpf: Add BPF token support to bpf_map_create() API Andrii Nakryiko 2024-01-23 18:21:10 -08:00
  • 5cc8482fe2 libbpf: Add bpf_token_create() API Andrii Nakryiko 2024-01-23 18:21:09 -08:00
  • 21fb08cb35 bpf: Add BPF token support to BPF_PROG_LOAD command Andrii Nakryiko 2024-01-23 18:21:03 -08:00