Commit Graph

  • b228eb84f1 bpf: Add bpf_copy_from_user() helper. Alexei Starovoitov 2020-08-27 15:01:12 -07:00
  • 5bd7cae11d bpf: Introduce sleepable BPF programs Alexei Starovoitov 2020-08-27 15:01:11 -07:00
  • a454a08f53 bpf: Make bpf_link_info.iter similar to bpf_iter_link_info Yonghong Song 2020-08-27 22:19:22 -07:00
  • 829e50fc15 sync: improve sync script to handle common issues Andrii Nakryiko 2020-09-03 20:10:55 -07:00
  • 66780a46cb README.md: update Travis CI badge link Andrii Nakryiko 2020-08-27 10:15:18 -07:00
  • 7bc52e6602 vmtests: blacklist 2 new feature tests and (temporarily) 3 existing selftest Andrii Nakryiko 2020-08-26 23:06:28 -07:00
  • 7267270f5f sync: latest libbpf changes from kernel Andrii Nakryiko 2020-08-26 22:32:45 -07:00
  • b16bc44bd3 sync: auto-generate latest BPF helpers Andrii Nakryiko 2020-08-26 22:32:45 -07:00
  • 4cdad1b34b libbpf: Fix compilation warnings for 64-bit printf args Andrii Nakryiko 2020-08-26 21:11:09 -07:00
  • f557d9e1fc libbpf: Fix unintentional success return code in bpf_object__load Alex Gartrell 2020-08-26 00:55:49 -07:00
  • e82da07e2d bpf: Add d_path helper Jiri Olsa 2020-08-25 21:21:20 +02:00
  • c42c140954 bpf: Allow local storage to be used from LSM programs KP Singh 2020-08-25 20:29:18 +02:00
  • e565f2bfe9 bpf: Implement bpf_local_storage for inodes KP Singh 2020-08-25 20:29:17 +02:00
  • 2bd0d158d4 bpf: Generalize bpf_sk_storage KP Singh 2020-08-25 20:29:15 +02:00
  • bbe442da7a sync: allow 3-way merge for patching to simplify manual conflict resolution Andrii Nakryiko 2020-08-25 00:19:10 -07:00
  • 3f7b5b32b8 vmtests: blacklist tcp_hdr_options selftest for 5.5 Andrii Nakryiko 2020-08-25 00:18:23 -07:00
  • 5a913e9401 sync: latest libbpf changes from kernel Andrii Nakryiko 2020-08-25 00:04:23 -07:00
  • cead23ac75 sync: auto-generate latest BPF helpers Andrii Nakryiko 2020-08-25 00:04:23 -07:00
  • 66091d267c libbpf: Fix type compatibility check copy-paste error Andrii Nakryiko 2020-08-21 15:56:53 -07:00
  • 2819b00b74 libbpf: Avoid false unuinitialized variable warning in bpf_core_apply_relo Andrii Nakryiko 2020-08-21 15:55:56 -07:00
  • cb4d6d6f1a tcp: bpf: Optionally store mac header in TCP_SAVE_SYN Martin KaFai Lau 2020-08-20 12:01:23 -07:00
  • 4f160ed607 bpf: tcp: Allow bpf prog to write and parse TCP header option Martin KaFai Lau 2020-08-20 12:01:04 -07:00
  • 647df00570 bpf: tcp: Add bpf_skops_hdr_opt_len() and bpf_skops_write_hdr_opt() Martin KaFai Lau 2020-08-20 12:00:52 -07:00
  • 44fdfd8e6e bpf: tcp: Add bpf_skops_parse_hdr() Martin KaFai Lau 2020-08-20 12:00:46 -07:00
  • 75d2adfe84 tcp: bpf: Add TCP_BPF_RTO_MIN for bpf_setsockopt Martin KaFai Lau 2020-08-20 12:00:27 -07:00
  • f0f75f36a7 tcp: bpf: Add TCP_BPF_DELACK_MAX setsockopt Martin KaFai Lau 2020-08-20 12:00:21 -07:00
  • a8fa8b6eea libbpf: Normalize and improve logging across few functions Andrii Nakryiko 2020-08-20 16:12:39 -07:00
  • 8a1acb7dfe libbpf: Skip well-known ELF sections when iterating ELF Andrii Nakryiko 2020-08-20 16:12:38 -07:00
  • b6e179e67c libbpf: Add __noinline macro to bpf_helpers.h Andrii Nakryiko 2020-08-20 16:12:37 -07:00
  • d81d872279 libbpf: Factor out common ELF operations and improve logging Andrii Nakryiko 2020-08-20 16:12:36 -07:00
  • 4001a658e0 vmtests: add log folding Andrii Nakryiko 2020-08-21 19:06:43 -07:00
  • dc1cd8503f vmtests: use built-in BPF_PRELOAD_UMD=y config Andrii Nakryiko 2020-08-21 18:27:10 -07:00
  • 9a3a42608d vmtests: update latest.config Andrii Nakryiko 2020-08-21 16:37:58 -07:00
  • 63c78982c7 vmtests: harden fetching kernel sources Andrii Nakryiko 2020-08-21 15:44:45 -07:00
  • 28e26bdc3e sync: add BPF_RAW_INSN macro Andrii Nakryiko 2020-08-21 15:19:04 -07:00
  • 7297e38474 vmtests: add CONFIG_BPF_PRELOAD=y and CONFIG_BPF_PRELOAD_UMD=m Andrii Nakryiko 2020-08-21 15:10:45 -07:00
  • a44116bb1f sync: latest libbpf changes from kernel Andrii Nakryiko 2020-08-21 14:37:49 -07:00
  • 4069acb787 sync: auto-generate latest BPF helpers Andrii Nakryiko 2020-08-21 14:37:49 -07:00
  • c7d2b1f31b bpf: Fix two typos in uapi/linux/bpf.h Tobias Klauser 2020-08-21 15:36:42 +02:00
  • b06fb2312c libbpf: Fix map index used in error message Toke Høiland-Jørgensen 2020-08-19 13:05:34 +02:00
  • 1e2c7823f5 libbpf: Add perf_buffer APIs for better integration with outside epoll loop Andrii Nakryiko 2020-08-21 09:59:27 -07:00
  • 160917756a bpf: Implement link_query for bpf iterators Yonghong Song 2020-08-21 11:44:18 -07:00
  • 4a2f7ac55f libbpf: Fix libbpf build on compilers missing __builtin_mul_overflow Andrii Nakryiko 2020-08-19 23:14:09 -07:00
  • a8a3089b5e libbpf: Fix detection of BPF helper call instruction Andrii Nakryiko 2020-08-19 23:14:08 -07:00
  • 475843fbf4 libbpf: Simplify the return expression of build_map_pin_path() Xu Wang 2020-08-19 02:53:24 +00:00
  • f89dab0903 libbpf: Implement enum value-based CO-RE relocations Andrii Nakryiko 2020-08-19 12:45:18 -07:00
  • cdb21b05e5 libbpf: Implement type-based CO-RE relocations support Andrii Nakryiko 2020-08-19 12:45:15 -07:00
  • a734ef0803 tools: Remove feature-libelf-mmap feature detection Andrii Nakryiko 2020-08-18 18:36:07 -07:00
  • 3c4954d5a6 libbpf: Centralize poisoning and poison reallocarray() Andrii Nakryiko 2020-08-18 18:36:06 -07:00
  • c3b1c66810 tools/bpftool: Remove libbpf_internal.h usage in bpftool Andrii Nakryiko 2020-08-18 18:36:05 -07:00
  • dc70da9c70 libbpf: Remove any use of reallocarray() in libbpf Andrii Nakryiko 2020-08-18 18:36:04 -07:00
  • 9106c3028b libbpf: Improve relocation ambiguity detection Andrii Nakryiko 2020-08-18 15:39:15 -07:00
  • 3bde6ca8e8 libbpf: Clean up and improve CO-RE reloc logging Andrii Nakryiko 2020-08-18 15:39:14 -07:00
  • d13e96ee32 libbpf: Improve error logging for mismatched BTF kind cases Andrii Nakryiko 2020-08-18 15:39:13 -07:00
  • dc1b3e2a45 libbpf: Detect minimal BTF support and skip BTF loading, if missing Andrii Nakryiko 2020-08-18 14:33:56 -07:00
  • 30c61391bf libbpf: Switch tracing and CO-RE helper macros to bpf_probe_read_kernel() Andrii Nakryiko 2020-08-18 14:33:55 -07:00
  • e6f118dddd libbpf: Sanitize BPF program code for bpf_probe_read_{kernel, user}[_str] Andrii Nakryiko 2020-08-18 14:33:53 -07:00
  • 5d4075553b libbpf: Factor out common logic of testing and closing FD Andrii Nakryiko 2020-08-18 14:33:52 -07:00
  • 5205159359 libbpf: Make kernel feature probing lazy Andrii Nakryiko 2020-08-18 14:33:51 -07:00
  • 87d7f1a32b libbpf: Convert comma to semicolon Xu Wang 2020-08-18 07:16:11 +00:00
  • e8547bd4f7 vmtests: fix selftests checkout script v0.1.0 Andrii Nakryiko 2020-08-18 11:05:55 -07:00
  • 93959e4e43 sync: latest libbpf changes from kernel Andrii Nakryiko 2020-08-18 10:41:49 -07:00
  • 7ee1f12f94 libbpf: Fix build on ppc64le architecture Andrii Nakryiko 2020-08-18 09:44:56 -07:00
  • ff09ad9dac libbpf: Enforce 64-bitness of BTF for BPF object files Andrii Nakryiko 2020-08-13 13:49:42 -07:00
  • 025fcdc306 libbpf: Handle BTF pointer sizes more carefully Andrii Nakryiko 2020-08-13 13:49:40 -07:00
  • b3405fcb08 libbpf: Fix BTF-defined map-in-map initialization on 32-bit host arches Andrii Nakryiko 2020-08-13 13:49:39 -07:00
  • 1194953749 libbpf: Prevent overriding errno when logging errors Toke Høiland-Jørgensen 2020-08-13 16:29:05 +02:00
  • 1d76180057 libbpf: Handle GCC built-in types for Arm NEON Jean-Philippe Brucker 2020-08-12 16:39:10 +02:00
  • 048bf21dac libbpf: Do not use __builtin_offsetof for offsetof Yonghong Song 2020-08-10 20:08:52 -07:00
  • e954437a76 travis-ci: flatten build stages to gain more speed ups Andrii Nakryiko 2020-08-10 22:12:02 -07:00
  • c57be0b4d6 vmtests: speed up fetching of bpf-next sources Andrii Nakryiko 2020-08-10 21:51:53 -07:00
  • bf3ab4b0d8 travis-ci: remove s390x build as it fails to be queued by Travis CI Andrii Nakryiko 2020-08-09 13:19:59 -07:00
  • 663f66decf vmtests: blacklist problematic tests Andrii Nakryiko 2020-08-06 21:30:15 -07:00
  • ed187d0400 vmtest: bump LLVM_VER to 12 Andrii Nakryiko 2020-08-06 19:29:07 -07:00
  • 80453d4b2d sync: latest libbpf changes from kernel Andrii Nakryiko 2020-08-06 18:58:40 -07:00
  • 7f96c4b1d2 libbf: Fix uninitialized pointer at btf__parse_raw() Daniel T. Lee 2020-08-06 07:33:59 +09:00
  • 2be293cb4a tools/bpf: Support new uapi for map element bpf iterator Yonghong Song 2020-08-04 22:50:58 -07:00
  • a0334e97aa libbpf: Add btf__parse_raw() and generic btf__parse() APIs Andrii Nakryiko 2020-08-01 18:32:17 -07:00
  • 2d97d4097f libbpf: Add bpf_link detach APIs Andrii Nakryiko 2020-07-31 11:28:27 -07:00
  • 80a52e3252 libbpf: Fix register in PT_REGS MIPS macros Jerry Crunchtime 2020-07-31 17:08:01 +02:00
  • 2dc7cbd893 libbpf: Make destructors more robust by handling ERR_PTR(err) cases Andrii Nakryiko 2020-07-29 16:21:48 -07:00
  • 0466b9833b README: Add Arch to list of downstream distros Thomas Hebb 2020-07-27 23:13:27 -07:00
  • ba8d45968b vmtests: specify v12 of clang/llvm for now Andrii Nakryiko 2020-08-06 11:10:13 -07:00
  • 673424c561 Add fallback to an old attaching method v0.0.9_netdata-1 netdata-patch Vladimir Kobal 2020-07-30 13:38:27 +03:00
  • d2feaff998 Skip probing for loading Vladimir Kobal 2020-07-30 13:37:26 +03:00
  • 0d4b75d30e Skip kernel version check Vladimir Kobal 2020-07-30 13:35:35 +03:00
  • 734b3f0afe check-reallocarray.sh: Use the same compiler Make does Thomas Hebb 2020-07-27 00:30:26 -07:00
  • f56874ba8a vmtests: blacklist sk_lookup on LATEST and cg_storage_multi on 5.5 Andrii Nakryiko 2020-07-28 13:11:14 -07:00
  • 3f26bf1adf sync: latest libbpf changes from kernel Andrii Nakryiko 2020-07-28 12:19:58 -07:00
  • ab01213b35 sync: latest libbpf changes from kernel Andrii Nakryiko 2020-07-27 15:38:29 -07:00
  • 8af35e73a2 sync: auto-generate latest BPF helpers Andrii Nakryiko 2020-07-27 15:38:29 -07:00
  • a290d45322 libbpf: Add support for BPF XDP link Andrii Nakryiko 2020-07-21 23:46:00 -07:00
  • 3f6b428909 libbpf: Print hint when PERF_EVENT_IOC_SET_BPF returns -EPROTO Song Liu 2020-07-23 11:06:46 -07:00
  • 5efd8395ef tools/libbpf: Add support for bpf map element iterator Yonghong Song 2020-07-23 11:41:17 -07:00
  • b1720407ff bpf: Implement bpf iterator for map elements Yonghong Song 2020-07-23 11:41:12 -07:00
  • 698820a9d9 libbpf bpf_helpers: Use __builtin_offsetof for offsetof Ian Rogers 2020-07-19 23:17:41 -07:00
  • 6d92249be0 libbpf: Add support for SK_LOOKUP program type Jakub Sitnicki 2020-07-17 12:35:33 +02:00
  • 1736996279 bpf: Sync linux/bpf.h to tools/ Jakub Sitnicki 2020-07-17 12:35:32 +02:00
  • f9f5f054d2 bpf: Drop duplicated words in uapi helper comments Randy Dunlap 2020-07-15 18:29:11 -07:00
  • 4a5aecf034 libbpf: Add SEC name for xdp programs attached to CPUMAP Lorenzo Bianconi 2020-07-14 15:56:40 +02:00