mirror of
https://github.com/netdata/libbpf.git
synced 2026-03-20 08:19:07 +08:00
Syncing latest libbpf commits from kernel repository. Baseline bpf-next commit: 9492450fd28736262dea9143ebb3afc2c131ace1 Checkpoint bpf-next commit: 2d0df01974ce2b59b6f7d5bd3ea58d74f12ddf85 Baseline bpf commit: 6bd0c76bd70447aedfeafa9e1fcc249991d6c678 Checkpoint bpf commit: 0a210af6d0a0595fef566e7eeb072f10f37774be Alan Maguire (3): libbpf: auto-resolve programs/libraries when necessary for uprobes libbpf: Support function name-based attach uprobes libbpf: Add auto-attach for uprobes based on section name Andrii Nakryiko (6): libbpf: Avoid NULL deref when initializing map BTF info libbpf: Add BPF-side of USDT support libbpf: Wire up USDT API and bpf_link integration libbpf: Add USDT notes parsing and resolution logic libbpf: Wire up spec management and other arch-independent USDT logic libbpf: Add x86-specific USDT arg spec parsing logic Anshuman Khandual (1): perf: Add irq and exception return branch types Geliang Tang (1): bpf: Sync comments for bpf_get_stack Haiyue Wang (1): bpf: Correct the comment for BTF kind bitfield Hengqi Chen (1): libbpf: Close fd in bpf_object__reuse_map Ilya Leoshkevich (1): libbpf: Support Debian in resolve_full_path() Yuntao Wang (1): libbpf: Don't return -EINVAL if hdr_len < offsetofend(core_relo_len) include/uapi/linux/bpf.h | 8 +- include/uapi/linux/btf.h | 4 +- include/uapi/linux/perf_event.h | 2 + src/btf.c | 6 +- src/libbpf.c | 486 +++++++++++- src/libbpf.h | 41 +- src/libbpf.map | 1 + src/libbpf_internal.h | 19 + src/usdt.bpf.h | 256 +++++++ src/usdt.c | 1280 +++++++++++++++++++++++++++++++ 10 files changed, 2080 insertions(+), 23 deletions(-) create mode 100644 src/usdt.bpf.h create mode 100644 src/usdt.c -- 2.30.2
2 lines
41 B
Plaintext
2 lines
41 B
Plaintext
0a210af6d0a0595fef566e7eeb072f10f37774be
|