mirror of
https://github.com/netdata/libbpf.git
synced 2026-03-20 00:09:06 +08:00
Syncing latest libbpf commits from kernel repository.
Baseline bpf-next commit: 69cd823956ba8ce266a901170b1060db8073bddd
Checkpoint bpf-next commit: 38261f369fb905552ebdd3feb9699c0788fd3371
Baseline bpf commit: bc23f724481759d0fac61dfb5ce979af2190bbe0
Checkpoint bpf commit: 571fa247ab411f3233eeaaf837c6e646a513b9f8
Andrii Nakryiko (15):
libbpf: Use pre-setup sec_def in libbpf_find_attach_btf_id()
libbpf: Deprecated bpf_object_open_opts.relaxed_core_relocs
libbpf: Allow skipping attach_func_name in
bpf_program__set_attach_target()
libbpf: Schedule open_opts.attach_prog_fd deprecation since v0.7
libbpf: Constify all high-level program attach APIs
libbpf: Fix memory leak in legacy kprobe attach logic
libbpf: Refactor and simplify legacy kprobe code
libbpf: Add legacy uprobe attaching support
libbpf: Add "tc" SEC_DEF which is a better name for "classifier"
libbpf: Refactor internal sec_def handling to enable pluggability
libbpf: Reduce reliance of attach_fns on sec_def internals
libbpf: Refactor ELF section handler definitions
libbpf: Complete SEC() table unification for
BPF_APROG_SEC/BPF_EAPROG_SEC
libbpf: Add opt-in strict BPF program section name handling logic
selftests/bpf: Switch sk_lookup selftests to strict SEC("sk_lookup")
use
Dave Marchevsky (4):
bpf: Add bpf_trace_vprintk helper
libbpf: Modify bpf_printk to choose helper based on arg count
libbpf: Use static const fmt string in __bpf_printk
bpf: Clarify data_len param in bpf_snprintf and bpf_seq_printf
comments
Grant Seltzer (1):
libbpf: Add doc comments in libbpf.h
Kumar Kartikeya Dwivedi (1):
libbpf: Fix segfault in static linker for objects without BTF
Matteo Croce (1):
bpf: Update bpf_get_smp_processor_id() documentation
Toke Høiland-Jørgensen (1):
libbpf: Ignore STT_SECTION symbols in 'maps' section
include/uapi/linux/bpf.h | 18 +-
src/bpf_helpers.h | 51 ++-
src/libbpf.c | 882 +++++++++++++++++++++++----------------
src/libbpf.h | 106 +++--
src/libbpf_common.h | 5 +
src/libbpf_internal.h | 7 +
src/libbpf_legacy.h | 9 +
src/linker.c | 8 +-
8 files changed, 679 insertions(+), 407 deletions(-)
--
2.30.2
2 lines
41 B
Plaintext
2 lines
41 B
Plaintext
38261f369fb905552ebdd3feb9699c0788fd3371
|