Commit Graph

  • 5b6dfd7f6b libbpf: Fix possible NULL pointer dereference when destroying skeleton Yafang Shao 2022-01-08 13:47:39 +00:00
  • e0de05d1b1 libbpf: Rename bpf_prog_attach_xattr() to bpf_prog_attach_opts() Christy Lee 2022-01-07 10:46:03 -08:00
  • d5daf275c7 libbpf: Use IS_ERR_OR_NULL() in hashmap__free() Mauricio Vásquez 2022-01-07 10:26:19 -05:00
  • cde5b418dd gro: add ability to control gro max packet size Coco Li 2022-01-05 02:48:38 -08:00
  • 060c8a99c4 include: Include linux/stddef.h Adam Jensen 2019-05-08 07:04:50 -04:00
  • 22411acc4b ci: Add userfaultfd kernel config Kumar Kartikeya Dwivedi 2022-01-11 22:52:29 +05:30
  • e99f34e144 sync: latest libbpf changes from kernel Andrii Nakryiko 2022-01-06 15:22:18 -08:00
  • 4449d71509 libbpf: Add documentation for bpf_map batch operations Grant Seltzer 2022-01-06 15:13:05 -05:00
  • 12932191c6 libbpf 1.0: Deprecate bpf_object__find_map_by_offset() API Christy Lee 2022-01-04 16:31:20 -08:00
  • 8440112546 libbpf 1.0: Deprecate bpf_map__is_offload_neutral() Christy Lee 2022-01-04 16:06:01 -08:00
  • b0c3d7133f libbpf: Support repeated legacy kprobes on same function Qiang Wang 2021-12-27 21:07:13 +08:00
  • c2f2c26cb2 libbpf: Use probe_name for legacy kprobe Qiang Wang 2021-12-27 21:07:12 +08:00
  • 2e52e09bc2 libbpf: Deprecate bpf_perf_event_read_simple() API Christy Lee 2021-12-29 12:41:56 -08:00
  • 0171976dc5 libbpf: Improve LINUX_VERSION_CODE detection Andrii Nakryiko 2021-12-22 15:10:03 -08:00
  • 3f592a59d7 libbpf: Use 100-character limit to make bpf_tracing.h easier to read Andrii Nakryiko 2021-12-22 13:39:24 -08:00
  • 0557ad0a9c libbpf: Normalize PT_REGS_xxx() macro definitions Andrii Nakryiko 2021-12-22 13:39:23 -08:00
  • 7c382f0df9 ci: Add conntrack kernel config Kumar Kartikeya Dwivedi 2021-12-28 17:00:10 +05:30
  • ceba6a788a travis-ci/rootfs: Fix mount(8) invocation for Arch Linux Chris Tarazi 2021-12-29 15:31:28 -08:00
  • bf7aacea49 Fix comparison operator in API documentation grantseltzer 2022-01-03 13:34:33 -05:00
  • af2da673d8 sync: latest libbpf changes from kernel Andrii Nakryiko 2021-12-23 20:00:21 -08:00
  • 1321a8bb49 libbpf: Do not use btf_dump__new() macro in C++ mode Jiri Olsa 2021-12-23 14:17:35 +01:00
  • 287d0d097b Add documentation for error checking in API grantseltzer 2021-12-20 11:59:56 -05:00
  • 9fab7c81ec ci: Add a step to patch kernel with temporary fixes Yucong Sun 2021-12-20 13:12:47 -08:00
  • 96268bf0c2 sync: latest libbpf changes from kernel Andrii Nakryiko 2021-12-17 16:28:21 -08:00
  • 168cf9b8ae libbpf: Rework feature-probing APIs Andrii Nakryiko 2021-12-17 09:12:00 -08:00
  • 8e706ddc6c libbpf: Avoid reading past ELF data section end when copying license Andrii Nakryiko 2021-12-14 15:20:54 -08:00
  • dc49f2d07b ci: add LIRC kernel config Andrii Nakryiko 2021-12-16 14:30:46 -08:00
  • 19656636a9 vmtest: blacklist bpf_loop and get_func_args_test for s390x Andrii Nakryiko 2021-12-14 16:26:48 -08:00
  • 61acde2308 sync: latest libbpf changes from kernel Andrii Nakryiko 2021-12-14 15:08:35 -08:00
  • 266e897ad2 sync: auto-generate latest BPF helpers Andrii Nakryiko 2021-12-14 15:08:35 -08:00
  • 7152ecf163 libbpf: Mark bpf_object__find_program_by_title API deprecated. Kui-Feng Lee 2021-12-13 19:59:31 -08:00
  • 216eaa760e libbpf: Auto-bump RLIMIT_MEMLOCK if kernel needs it for BPF Andrii Nakryiko 2021-12-14 11:59:03 -08:00
  • a4e725f8f5 libbpf: Add sane strncpy alternative and use it internally Andrii Nakryiko 2021-12-10 16:40:43 -08:00
  • df5689f1c8 libbpf: Fix potential uninit memory read Andrii Nakryiko 2021-12-13 17:00:32 -08:00
  • 6894f573d2 libbpf: Add doc comments for bpf_program__(un)pin() Grant Seltzer 2021-12-09 18:22:22 -05:00
  • 2b0d408764 bpf: Add get_func_[arg|ret|arg_cnt] helpers Jiri Olsa 2021-12-08 20:32:44 +01:00
  • ac20634cdc libbpf: Don't validate TYPE_ID relo's original imm value Andrii Nakryiko 2021-12-12 17:07:06 -08:00
  • 04804b4710 bpf: Add bpf_strncmp helper Hou Tao 2021-12-10 22:16:49 +08:00
  • 16bb788578 libbpf: Fix gen_loader assumption on number of programs. Alexei Starovoitov 2021-12-11 17:16:19 -08:00
  • 5eb804a2db Bonding: add arp_missed_max option Hangbin Liu 2021-11-30 12:29:47 +08:00
  • bcf58fc7a5 sync: latest libbpf changes from kernel Andrii Nakryiko 2021-12-10 11:56:03 -08:00
  • 1f83414ea4 sync: auto-generate latest BPF helpers Andrii Nakryiko 2021-12-10 11:56:03 -08:00
  • a0ddf21c92 tools: sync uapi/linux/if_link.h header Eric Dumazet 2021-11-22 10:48:10 -08:00
  • bb14c6f5b5 libbpf: Add "bool skipped" to struct bpf_map Shuyi Cheng 2021-12-10 17:39:57 +08:00
  • c7dedfe23f libbpf: Fix typo in btf__dedup@LIBBPF_0.0.2 definition Vincent Minet 2021-12-10 07:31:12 +01:00
  • f13e766fa4 libbpf: Deprecate bpf_object__load_xattr() Andrii Nakryiko 2021-12-09 11:38:36 -08:00
  • 90910812b5 libbpf: Add per-program log buffer setter and getter Andrii Nakryiko 2021-12-09 11:38:35 -08:00
  • eb9d74e7ad libbpf: Preserve kernel error code and remove kprobe prog type guessing Andrii Nakryiko 2021-12-09 11:38:34 -08:00
  • d9b3fae391 libbpf: Improve logging around BPF program loading Andrii Nakryiko 2021-12-09 11:38:33 -08:00
  • dc1df24314 libbpf: Allow passing user log setting through bpf_object_open_opts Andrii Nakryiko 2021-12-09 11:38:32 -08:00
  • 0504b7ff22 libbpf: Allow passing preallocated log_buf when loading BTF into kernel Andrii Nakryiko 2021-12-09 11:38:31 -08:00
  • 3c93f7ddb2 libbpf: Add OPTS-based bpf_btf_load() API Andrii Nakryiko 2021-12-09 11:38:30 -08:00
  • 896a3ae0d0 libbpf: Fix bpf_prog_load() log_buf logic for log_level 0 Andrii Nakryiko 2021-12-09 11:38:29 -08:00
  • 728b1721e5 libbpf: Add doc comments in libbpf.h Grant Seltzer 2021-12-06 15:37:09 -05:00
  • 04941813a5 libbpf: Fix trivial typo huangxuesen 2021-12-06 09:47:16 +08:00
  • c3c540b402 libbpf: Reduce bpf_core_apply_relo_insn() stack usage. Alexei Starovoitov 2021-12-03 10:28:36 -08:00
  • b633ace366 libbpf: Deprecate bpf_prog_load_xattr() API Andrii Nakryiko 2021-12-01 15:28:24 -08:00
  • d761220e33 libbpf: Add API to get/set log_level at per-program level Andrii Nakryiko 2021-12-01 15:28:17 -08:00
  • ac1c007607 libbpf: Use __u32 fields in bpf_map_create_opts Andrii Nakryiko 2021-12-01 15:28:16 -08:00
  • 01b2b45e8d libbpf: Clean gen_loader's attach kind. Alexei Starovoitov 2021-12-01 10:10:34 -08:00
  • a7935b996f libbpf: Support init of inner maps in light skeleton. Alexei Starovoitov 2021-12-01 10:10:33 -08:00
  • 5f887b332c libbpf: Use CO-RE in the kernel in light skeleton. Alexei Starovoitov 2021-12-01 10:10:32 -08:00
  • 20e7ed521a libbpf: Cleanup struct bpf_core_cand. Andrii Nakryiko 2021-12-01 10:10:30 -08:00
  • d785a21c71 bpf: Pass a set of bpf_core_relo-s to prog_load command. Alexei Starovoitov 2021-12-01 10:10:28 -08:00
  • 8e43882e53 bpf: Define enum bpf_core_relo_kind as uapi. Alexei Starovoitov 2021-12-01 10:10:27 -08:00
  • 2be7e6a830 bpf: Prepare relo_core.c for kernel duty. Alexei Starovoitov 2021-12-01 10:10:26 -08:00
  • b9bd1f8682 libbpf: Replace btf__type_by_id() with btf_type_by_id(). Alexei Starovoitov 2021-12-01 10:10:24 -08:00
  • c4da8092cc libbpf: Avoid reload of imm for weak, unresolved, repeating ksym Kumar Kartikeya Dwivedi 2021-11-23 05:27:33 +05:30
  • b2b45a3131 libbpf: Avoid double stores for success/failure case of ksym relocations Kumar Kartikeya Dwivedi 2021-11-23 05:27:32 +05:30
  • 73c8768db7 bpf: Add bpf_loop helper Joanne Koong 2021-11-29 19:06:19 -08:00
  • bafda72319 libbpf: Remove duplicate assignments Mehrdad Arshad Rad 2021-11-28 11:33:37 -08:00
  • 33ec2ca026 sync: improve patch application process by using patch command Andrii Nakryiko 2021-12-09 22:43:20 -08:00
  • 7e89be4022 Migrate vmtest to modular actions in libbpf/ci Yucong Sun 2021-11-11 15:17:43 -08:00
  • 4cea98d241 libbpf_0_6_1: Apply patch to keep compatiblity with legacy kernels v0.6.1_netdata libbpf_0_6_1 Thiago Marques 2021-12-05 20:05:09 +00:00
  • e61e089911 Merge branch 'libbpf:master' into master thiagoftsm 2021-12-05 19:50:33 +00:00
  • 93e89b3474 ci: upgrade s390x runner to v2.285.0 Ilya Leoshkevich 2021-12-03 12:09:31 +01:00
  • b9d46530c3 Merge branch 'libbpf:master' into master thiagoftsm 2021-12-02 19:07:38 +00:00
  • 4884bf3dbd ci: fix test on /exitstatus existence and size v0.6.0 Quentin Monnet 2021-12-01 20:59:48 +00:00
  • 690d0531f9 ci: whitelist legacy_printk tests on 4.9 and 5.5 Andrii Nakryiko 2021-11-30 15:42:59 -08:00
  • 7cda69caeb ci: add folding markers to avoid getting output out of sections Quentin Monnet 2021-11-30 00:16:31 +00:00
  • 1f7db672e4 ci: carry on after selftest failure and report test group results Quentin Monnet 2021-11-30 00:01:24 +00:00
  • 385b2d1738 ci: change VM's /exitstatus format to prepare it for several results Quentin Monnet 2021-11-29 23:56:48 +00:00
  • 7f11cd48d6 ci: create helpers for formatting errors and notices Quentin Monnet 2021-11-29 22:54:07 +00:00
  • 4374bad784 sync: latest libbpf changes from kernel Andrii Nakryiko 2021-11-29 09:41:19 -08:00
  • 55b057565f libbpf: Silence uninitialized warning/error in btf_dump_dump_type_data Alan Maguire 2021-11-29 10:00:40 +00:00
  • 472c0726e8 libbpf: Support static initialization of BPF_MAP_TYPE_PROG_ARRAY Hengqi Chen 2021-11-28 22:16:32 +08:00
  • c86cb27d5b bpf, mips: Fix build errors about __NR_bpf undeclared Tiezhu Yang 2021-11-25 09:36:07 +08:00
  • 3ef05a585e sync: try harder when git am -3 fails Andrii Nakryiko 2021-11-26 12:12:03 -08:00
  • 493bfa8a59 sync: latest libbpf changes from kernel Andrii Nakryiko 2021-11-26 12:10:02 -08:00
  • 9f006f1ed6 libbpf: Fix using invalidated memory in bpf_linker Andrii Nakryiko 2021-11-23 16:23:18 -08:00
  • 5fc0d66cad libbpf: Fix glob_syms memory leak in bpf_linker Andrii Nakryiko 2021-11-23 16:23:17 -08:00
  • 37c3e92657 libbpf: Don't call libc APIs with NULL pointers Andrii Nakryiko 2021-11-23 16:23:16 -08:00
  • 25eb5c4e02 libbpf: Fix potential misaligned memory access in btf_ext__new() Andrii Nakryiko 2021-11-23 16:23:14 -08:00
  • 07e4e0cb04 libbpf: Prevent deprecation warnings in xsk.c Andrii Nakryiko 2021-11-24 11:32:32 -08:00
  • 316b60fa89 libbpf: Use bpf_map_create() consistently internally Andrii Nakryiko 2021-11-24 11:32:31 -08:00
  • 6cfb97c561 libbpf: Unify low-level map creation APIs w/ new bpf_map_create() Andrii Nakryiko 2021-11-24 11:32:30 -08:00
  • 5c31bcf220 libbpf: Load global data maps lazily on legacy kernels Andrii Nakryiko 2021-11-23 12:01:04 -08:00
  • 5b4dbd8141 sync: latest libbpf changes from kernel Andrii Nakryiko 2021-11-23 20:45:54 -08:00
  • 14e12f4290 libbpf: Change bpf_program__set_extra_flags to bpf_program__set_flags Florent Revest 2021-11-19 19:00:35 +01:00
  • 60ce9af668 libbpf: Accommodate DWARF/compiler bug with duplicated structs Andrii Nakryiko 2021-11-17 11:41:13 -08:00