mirror of
https://github.com/netdata/libbpf.git
synced 2026-03-19 07:49:07 +08:00
Syncing latest libbpf commits from kernel repository.
Baseline bpf-next commit: d54d06a4c4bc5d76815d02e4b041b31d9dbb3fef
Checkpoint bpf-next commit: b2531d4bdce19f28364b45aac9132e153b1f23a4
Baseline bpf commit: ba3beec2ec1d3b4fd8672ca6e781dac4b3267f6e
Checkpoint bpf commit: f3f19f939c11925dadd3f4776f99f8c278a7017b
Andrii Nakryiko (12):
libbpf: Allow "incomplete" basic tracing SEC() definitions
libbpf: Support target-less SEC() definitions for BTF-backed programs
libbpf: Append "..." in fixed up log if CO-RE spec is truncated
libbpf: Use libbpf_mem_ensure() when allocating new map
libbpf: Allow to opt-out from creating BPF maps
libbpf: Make __kptr and __kptr_ref unconditionally use btf_type_tag()
attr
libbpf: Improve usability of field-based CO-RE helpers
libbpf: Complete field-based CO-RE helpers with field offset helper
libbpf: Provide barrier() and barrier_var() in bpf_helpers.h
libbpf: Automatically fix up BPF_MAP_TYPE_RINGBUF size, if necessary
libbpf: Clean up ringbuf size adjustment implementation
libbpf: Add safer high-level wrappers for map operations
Feng Zhou (1):
bpf: add bpf_map_lookup_percpu_elem for percpu map
Jiri Olsa (1):
libbpf: Add bpf_program__set_insns function
Kaixi Fan (1):
bpf: Add source ip in "struct bpf_tunnel_key"
Kui-Feng Lee (3):
bpf, x86: Generate trampolines from bpf_tramp_links
bpf, x86: Attach a cookie to fentry/fexit/fmod_ret/lsm.
libbpf: Assign cookies to links in libbpf.
include/uapi/linux/bpf.h | 23 ++
src/bpf.c | 22 ++
src/bpf.h | 4 +
src/bpf_core_read.h | 37 ++-
src/bpf_helpers.h | 29 ++-
src/libbpf.c | 473 ++++++++++++++++++++++++++++++++-------
src/libbpf.h | 156 +++++++++++++
src/libbpf.map | 12 +-
8 files changed, 659 insertions(+), 97 deletions(-)
--
2.30.2
2 lines
41 B
Plaintext
2 lines
41 B
Plaintext
f3f19f939c11925dadd3f4776f99f8c278a7017b
|