Andrii Nakryiko
|
ade4409352
|
sync: latest libbpf changes from kernel
Syncing latest libbpf commits from kernel repository.
Baseline bpf-next commit: f05c2001ecc98629cecd47728e4db11e5a17e58d
Checkpoint bpf-next commit: da927466a152a9497c05926a95c6aebba6d3ad5b
Baseline bpf commit: 106c35dda32f8b63f88cad7433f1b8bb0056958a
Checkpoint bpf commit: 9e8acd9c44a0dd52b2922eeb82398c04e356c058
Andrii Nakryiko (7):
libbpf: Fix struct end padding in btf_dump
libbpf: Generate more efficient BPF_CORE_READ code
libbpf: Handle invalid typedef emitted by old GCC
libbpf: Update BTF reloc support to latest Clang format
libbpf: Refactor bpf_object__open APIs to use common opts
libbpf: Add support for field existance CO-RE relocation
libbpf: Add BPF-side definitions of supported field relocation kinds
Ilya Maximets (1):
libbpf: Fix passing uninitialized bytes to setsockopt
src/bpf_core_read.h | 28 ++++++-
src/btf.c | 16 ++--
src/btf.h | 4 +-
src/btf_dump.c | 19 ++++-
src/libbpf.c | 169 ++++++++++++++++++++++++++----------------
src/libbpf.h | 4 +-
src/libbpf_internal.h | 25 +++++--
src/xsk.c | 1 +
8 files changed, 180 insertions(+), 86 deletions(-)
--
2.17.1
|
2019-10-15 19:43:48 -07:00 |
|
Andrii Nakryiko
|
46688687d5
|
sync: latest libbpf changes from kernel
Syncing latest libbpf commits from kernel repository.
Baseline bpf-next commit: 02dc96ef6c25f990452c114c59d75c368a1f4c8f
Checkpoint bpf-next commit: f05c2001ecc98629cecd47728e4db11e5a17e58d
Baseline bpf commit: 1bd63524593b964934a33afd442df16b8f90e2b5
Checkpoint bpf commit: 106c35dda32f8b63f88cad7433f1b8bb0056958a
Andrii Nakryiko (7):
libbpf: Bump current version to v0.0.6
libbpf: stop enforcing kern_version, populate it for users
libbpf: add bpf_object__open_{file, mem} w/ extensible opts
libbpf: fix bpf_object__name() to actually return object name
uapi/bpf: fix helper docs
libbpf: Move bpf_{helpers, helper_defs, endian, tracing}.h into libbpf
libbpf: Add BPF_CORE_READ/BPF_CORE_READ_INTO helpers
include/uapi/linux/bpf.h | 32 +++----
src/bpf_core_read.h | 167 +++++++++++++++++++++++++++++++++
src/bpf_endian.h | 72 +++++++++++++++
src/bpf_helpers.h | 41 ++++++++
src/bpf_tracing.h | 195 +++++++++++++++++++++++++++++++++++++++
src/libbpf.c | 183 ++++++++++++++++++------------------
src/libbpf.h | 48 +++++++++-
src/libbpf.map | 6 ++
src/libbpf_internal.h | 32 +++++++
9 files changed, 661 insertions(+), 115 deletions(-)
create mode 100644 src/bpf_core_read.h
create mode 100644 src/bpf_endian.h
create mode 100644 src/bpf_helpers.h
create mode 100644 src/bpf_tracing.h
--
2.17.1
|
2019-10-09 14:42:45 -07:00 |
|
Andrii Nakryiko
|
886e8149a0
|
sync: latest libbpf changes from kernel
Syncing latest libbpf commits from kernel repository.
Baseline bpf-next commit: b41dae061bbd722b9d7fa828f35d22035b218e18
Checkpoint bpf-next commit: 02dc96ef6c25f990452c114c59d75c368a1f4c8f
Baseline bpf commit: e3439af4a339acd7fddbd6d59b8ecefaac07a611
Checkpoint bpf commit: 1bd63524593b964934a33afd442df16b8f90e2b5
Yonghong Song (1):
libbpf: handle symbol versioning properly for libbpf.a
src/libbpf_internal.h | 16 ++++++++++++++++
src/xsk.c | 4 ++--
2 files changed, 18 insertions(+), 2 deletions(-)
--
2.17.1
|
2019-09-30 16:10:45 -07:00 |
|
Andrii Nakryiko
|
d2f307c7f6
|
sync: latest libbpf changes from kernel
Syncing latest libbpf commits from kernel repository.
Baseline bpf-next commit: 0bb52b0dfc88a155688f492aba8e686147600278
Checkpoint bpf-next commit: b41dae061bbd722b9d7fa828f35d22035b218e18
Baseline bpf commit: 2c238177bd7f4b14bdf7447cc1cd9bb791f147e6
Checkpoint bpf commit: e3439af4a339acd7fddbd6d59b8ecefaac07a611
Alexei Starovoitov (1):
tools/bpf: sync bpf.h
Andrii Nakryiko (2):
libbpf: fix false uninitialized variable warning
libbpf: Teach btf_dumper to emit stand-alone anonymous enum
definitions
Daniel Borkmann (1):
bpf: sync bpf.h to tools infrastructure
Kevin Laatz (1):
libbpf: add flags to umem config
Toke Høiland-Jørgensen (1):
libbpf: Remove getsockopt() check for XDP_OPTIONS
include/uapi/linux/bpf.h | 7 ++-
include/uapi/linux/if_xdp.h | 9 ++++
src/btf_dump.c | 94 ++++++++++++++++++++++++++++++++++---
src/libbpf.map | 1 +
src/xsk.c | 44 +++++++++++------
src/xsk.h | 27 +++++++++++
6 files changed, 160 insertions(+), 22 deletions(-)
--
2.17.1
|
2019-09-26 13:29:16 -07:00 |
|
Yonghong Song
|
476e158b07
|
sync: latest libbpf changes from kernel
Syncing latest libbpf commits from kernel repository.
Baseline bpf-next commit: b753c5a7f99f390fc100de18647ce0dcacdceafc
Checkpoint bpf-next commit: 0bb52b0dfc88a155688f492aba8e686147600278
Baseline bpf commit: 91b4db5313a2c793aabc2143efb8ed0cf0fdd097
Checkpoint bpf commit: 2c238177bd7f4b14bdf7447cc1cd9bb791f147e6
Andrii Nakryiko (1):
libbpf: make libbpf.map source of truth for libbpf version
Ivan Khoronzhuk (1):
libbpf: use LFS (_FILE_OFFSET_BITS) instead of direct mmap2 syscall
Magnus Karlsson (1):
libbpf: add support for need_wakeup flag in AF_XDP part
Peter Wu (1):
bpf: sync bpf.h to tools/
Quentin Monnet (3):
tools: bpf: synchronise BPF UAPI header with tools
libbpf: refactor bpf_*_get_next_id() functions
libbpf: add bpf_btf_get_next_id() to cycle through BTF objects
Stanislav Fomichev (1):
bpf: sync bpf.h to tools/
include/uapi/linux/bpf.h | 12 ++++++---
include/uapi/linux/if_xdp.h | 13 +++++++++
src/bpf.c | 24 ++++++++---------
src/bpf.h | 1 +
src/libbpf.map | 5 ++++
src/xsk.c | 53 +++++++++++++------------------------
src/xsk.h | 6 +++++
7 files changed, 64 insertions(+), 50 deletions(-)
--
2.17.1
|
2019-08-27 13:58:15 -07:00 |
|
Andrii Nakryiko
|
c8a7eb06bd
|
sync: latest libbpf changes from kernel
Syncing latest libbpf commits from kernel repository.
Baseline bpf-next commit: b707659213d3c70f2c704ec950df6263b4bffe84
Checkpoint bpf-next commit: b753c5a7f99f390fc100de18647ce0dcacdceafc
Baseline bpf commit: f1fc7249dddc0e52d9e805e2e661caa118649509
Checkpoint bpf commit: 91b4db5313a2c793aabc2143efb8ed0cf0fdd097
Andrii Nakryiko (2):
libbpf: fix missing __WORDSIZE definition
libbpf: attempt to load kernel BTF from sysfs first
Arnaldo Carvalho de Melo (1):
tools headers UAPI: Sync if_link.h with the kernel
Daniel Borkmann (1):
bpf: sync bpf.h to tools infrastructure
include/uapi/linux/bpf.h | 4 +--
include/uapi/linux/if_link.h | 5 +++
src/hashmap.h | 5 +++
src/libbpf.c | 64 ++++++++++++++++++++++++++++++++----
4 files changed, 69 insertions(+), 9 deletions(-)
--
2.17.1
|
2019-08-14 09:52:47 -07:00 |
|
Andrii Nakryiko
|
c020432531
|
sync: latest libbpf changes from kernel
Syncing latest libbpf commits from kernel repository.
Baseline bpf-next commit: 66b5f1c439843bcbab01cc7f3854ae2742f3d1e3
Checkpoint bpf-next commit: b707659213d3c70f2c704ec950df6263b4bffe84
Baseline bpf commit: 53db1cced401e4c65d49edf198e00daa9fc837e6
Checkpoint bpf commit: f1fc7249dddc0e52d9e805e2e661caa118649509
Andrii Nakryiko (8):
libbpf: provide more helpful message on uninitialized global var
libbpf: return previous print callback from libbpf_set_print
libbpf: add helpers for working with BTF types
libbpf: convert libbpf code to use new btf helpers
libbpf: add .BTF.ext offset relocation section loading
libbpf: implement BPF CO-RE offset relocation algorithm
libbpf: fix SIGSEGV when BTF loading fails, but .BTF.ext exists
libbpf: sanitize VAR to conservative 1-byte INT
Petar Penkov (1):
bpf: sync bpf.h to tools/
Stanislav Fomichev (2):
tools/bpf: sync bpf_flow_keys flags
bpf/flow_dissector: support ipv6 flow_label and
BPF_FLOW_DISSECTOR_F_STOP_AT_FLOW_LABEL
Toke Høiland-Jørgensen (2):
tools/include/uapi: Add devmap_hash BPF map type
tools/libbpf_probes: Add new devmap_hash type
include/uapi/linux/bpf.h | 44 +-
src/btf.c | 250 +++++-----
src/btf.h | 182 ++++++++
src/btf_dump.c | 138 ++----
src/libbpf.c | 972 ++++++++++++++++++++++++++++++++++++---
src/libbpf.h | 3 +-
src/libbpf_internal.h | 105 +++++
src/libbpf_probes.c | 1 +
8 files changed, 1405 insertions(+), 290 deletions(-)
--
2.17.1
|
2019-08-09 08:40:44 -07:00 |
|