mirror of
https://github.com/netdata/libbpf.git
synced 2026-09-07 12:07:20 +08:00
6ddc03d4fe0535ac0fb6c8525db31ac88a018ddd
164
Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
6ddc03d4fe |
sync: latest libbpf changes from kernel
Syncing latest libbpf commits from kernel repository.
Baseline bpf-next commit: dc855b77719fe452d670cae2cf64da1eb51f16cc
Checkpoint bpf-next commit: 4c51f90d45dca71e7974ed5a7c40b9c04a6c6762
Baseline bpf commit: 1a7eb7a3d74031e6c173f0822023f354c2870354
Checkpoint bpf commit: 593fffb8bcfdacc2111a9951afe1fae77988aa4a
Amery Hung (1):
libbpf: Fix invalid write loop logic in bpf_linker__add_buf()
Daniel Borkmann (2):
net: Add queue-create operation
netkit: Add single device mode for netkit
Emil Tsalapatis (3):
libbpf: Add gating for arena globals relocation feature
libbpf: Do not use PROG_TYPE_TRACEPOINT program for feature gating
libbpf: Delay feature gate check until object prepare time
Jakub Kicinski (1):
Revert "Merge branch
'netkit-support-for-io_uring-zero-copy-and-af_xdp'"
Jonas Köppeler (1):
net/sched: sch_cake: share shaper state across sub-instances of
cake_mq
Paolo Abeni (1):
geneve: add netlink support for GRO hint
include/uapi/linux/if_link.h | 1 +
include/uapi/linux/pkt_sched.h | 1 +
src/features.c | 65 ++++++++++++++++++++++++++++++++++
src/libbpf.c | 17 ++++++---
src/libbpf_internal.h | 2 ++
src/linker.c | 2 +-
6 files changed, 83 insertions(+), 5 deletions(-)
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
|
||
|
|
fa0bbf147e |
sync: latest libbpf changes from kernel
Syncing latest libbpf commits from kernel repository.
Baseline bpf-next commit: 08a7491843224f8b96518fbe70d9e48163046054
Checkpoint bpf-next commit: dc855b77719fe452d670cae2cf64da1eb51f16cc
Baseline bpf commit: 22cc16c04b7893d8fc22810599f49a305d600b9e
Checkpoint bpf commit: 1a7eb7a3d74031e6c173f0822023f354c2870354
Amery Hung (1):
libbpf: Fix invalid write loop logic in bpf_linker__add_buf()
Bill Wendling (1):
compiler_types.h: Attributes: Add __counted_by_ptr macro
Dapeng Mi (1):
perf/x86/intel: Add support for PEBS memory auxiliary info field in
DMR
Emil Tsalapatis (1):
libbpf: Add gating for arena globals relocation feature
include/uapi/linux/perf_event.h | 27 ++++++++++++--
include/uapi/linux/stddef.h | 4 +++
src/features.c | 64 +++++++++++++++++++++++++++++++++
src/libbpf.c | 7 ++--
src/libbpf_internal.h | 2 ++
src/linker.c | 2 +-
6 files changed, 100 insertions(+), 6 deletions(-)
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
|
||
|
|
85d9be97eb |
sync: latest libbpf changes from kernel
Syncing latest libbpf commits from kernel repository. Baseline bpf-next commit: 6f0b824a61f212e9707ff68abcabfdfa4724b811 Checkpoint bpf-next commit: 08a7491843224f8b96518fbe70d9e48163046054 Baseline bpf commit: 1d528e794f3db5d32279123a89957c44c4406a09 Checkpoint bpf commit: 22cc16c04b7893d8fc22810599f49a305d600b9e Donglin Peng (4): libbpf: Add BTF permutation support for type reordering libbpf: Optimize type lookup with binary search for sorted BTF libbpf: Verify BTF sorting btf: Refactor the code by calling str_is_empty Emil Tsalapatis (2): libbpf: Turn relo_core->sym_off unsigned libbpf: Move arena globals to the end of the arena Ihor Solodrai (1): bpf: Migrate bpf_stream_vprintk() to KF_IMPLICIT_ARGS Leon Hwang (2): bpf: Introduce BPF_F_CPU and BPF_F_ALL_CPUS flags libbpf: Add BPF_F_CPU and BPF_F_ALL_CPUS flags support for percpu maps Matt Bobrowski (1): bpf: add new BPF_CGROUP_ITER_CHILDREN control option Menglong Dong (2): bpf: add fsession support libbpf: add fsession support Thomas Gleixner (1): treewide: Update email address Thomas Weißschuh (1): vfs: use UAPI types for new struct delegation definition Varun R Mallya (1): libbpf: Fix OOB read in btf_dump_get_bitfield_value include/uapi/linux/bpf.h | 11 ++ include/uapi/linux/fcntl.h | 10 +- include/uapi/linux/perf_event.h | 2 +- src/bpf.c | 1 + src/bpf.h | 8 + src/bpf_helpers.h | 6 +- src/btf.c | 276 +++++++++++++++++++++++++++----- src/btf.h | 42 +++++ src/btf_dump.c | 9 ++ src/libbpf.c | 64 +++++--- src/libbpf.h | 21 +-- src/libbpf.map | 1 + 12 files changed, 369 insertions(+), 82 deletions(-) Signed-off-by: Andrii Nakryiko <andrii@kernel.org> |
||
|
|
afb8b17bc5 |
sync: latest libbpf changes from kernel
Syncing latest libbpf commits from kernel repository.
Baseline bpf-next commit: f8c67d8550ee69ce684c7015b2c8c63cda24bbfb
Checkpoint bpf-next commit: 6f0b824a61f212e9707ff68abcabfdfa4724b811
Baseline bpf commit: e427054ae7bc8b1268cf1989381a43885795616f
Checkpoint bpf commit: 1d528e794f3db5d32279123a89957c44c4406a09
Alan Maguire (1):
libbpf: Add debug messaging in dedup equivalence/identity matching
Amery Hung (2):
bpf: Support associating BPF program with struct_ops
libbpf: Add support for associating BPF program with struct_ops
Asbjørn Sloth Tønnesen (1):
tools: ynl-gen: add regeneration comment
Heiko Carstens (1):
tools: Remove s390 compat support
James Clark (1):
perf: Add perf_event_attr::config4
Jeff Layton (2):
vfs: expose delegation support to userland
vfs: add needed headers for new struct delegation definition
Jianyun Gao (1):
libbpf: Fix some incorrect @param descriptions in the comment of
libbpf.h
Kuniyuki Iwashima (1):
bpf: Introduce SK_BPF_BYPASS_PROT_MEM.
Mikhail Gavrilov (1):
libbpf: Fix -Wdiscarded-qualifiers under C23
Paul Houssel (1):
libbpf: Fix BTF dedup to support recursive typedef definitions
Peter Zijlstra (1):
perf: Support deferred user unwind
Samiullah Khawaja (1):
net: Extend NAPI threaded polling to allow kthread based busy polling
include/uapi/linux/bpf.h | 19 ++++++
include/uapi/linux/fcntl.h | 16 +++++
include/uapi/linux/netdev.h | 2 +
include/uapi/linux/perf_event.h | 23 +++++++-
src/bpf.c | 19 ++++++
src/bpf.h | 21 +++++++
src/btf.c | 100 +++++++++++++++++++++++++-------
src/libbpf.c | 42 +++++++++++---
src/libbpf.h | 43 ++++++++++----
src/libbpf.map | 2 +
src/usdt.c | 2 -
11 files changed, 247 insertions(+), 42 deletions(-)
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
|
||
|
|
d65dbb412d |
sync: latest libbpf changes from kernel
Syncing latest libbpf commits from kernel repository.
Baseline bpf-next commit: de7342228b7343774d6a9981c2ddbfb5e201044b
Checkpoint bpf-next commit: f8c67d8550ee69ce684c7015b2c8c63cda24bbfb
Baseline bpf commit: 4d920ed684392ae064af62957d6f5a90312dfaf6
Checkpoint bpf commit: e427054ae7bc8b1268cf1989381a43885795616f
Alan Maguire (1):
libbpf: Fix parsing of multi-split BTF
Andrii Nakryiko (1):
libbpf: Fix powerpc's stack register definition in bpf_tracing.h
Anton Protopopov (4):
libbpf: fix formatting of bpf_object__append_subprog_code
bpf, x86: add new map type: instructions array
libbpf: Recognize insn_array map type
libbpf: support llvm-generated indirect jumps
Donald Hunter (1):
docs/bpf: Add missing BPF k/uprobe program types to docs
Jianyun Gao (4):
libbpf: Optimize the redundant code in the
bpf_object__init_user_btf_maps() function.
libbpf: Fix the incorrect reference to the memlock_rlim variable in
the comment.
libbpf: Complete the missing @param and @return tags in btf.h
libbpf: Update the comment to remove the reference to the deprecated
interface bpf_program__load().
Mykyta Yatsenko (2):
bpf: widen dynptr size/offset to 64 bit
bpf: add _impl suffix for bpf_stream_vprintk() kfunc
Xu Kuohai (1):
bpf: Add overwrite mode for BPF ring buffer
docs/program_types.rst | 18 +++
include/uapi/linux/bpf.h | 33 ++++-
src/bpf.c | 2 +-
src/bpf_helpers.h | 28 ++--
src/bpf_tracing.h | 2 +-
src/btf.c | 4 +-
src/btf.h | 8 ++
src/libbpf.c | 296 +++++++++++++++++++++++++++++++++++----
src/libbpf_internal.h | 2 +
src/libbpf_probes.c | 4 +
src/linker.c | 3 +
11 files changed, 353 insertions(+), 47 deletions(-)
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
|
||
|
|
7e9d669550 |
sync: latest libbpf changes from kernel
Syncing latest libbpf commits from kernel repository.
Baseline bpf-next commit: 21aeabb68258ce17b91af113a768760b3a491d93
Checkpoint bpf-next commit: de7342228b7343774d6a9981c2ddbfb5e201044b
Baseline bpf commit: 27861fc720be2c39b861d8bdfb68287f54de6855
Checkpoint bpf commit: 4d920ed684392ae064af62957d6f5a90312dfaf6
Alasdair McWilliam (1):
rtnetlink: add needed_{head,tail}room attributes
Andrii Nakryiko (5):
libbpf: make libbpf_errno.c into more generic libbpf_utils.c
libbpf: remove unused libbpf_strerror_r and STRERR_BUFSIZE
libbpf: move libbpf_errstr() into libbpf_utils.c
libbpf: move libbpf_sha256() implementation into libbpf_utils.c
libbpf: remove linux/unaligned.h dependency for libbpf_sha256()
Christian Brauner (1):
nsfs: support exhaustive file handles
D. Wythe (1):
libbpf: Fix error when st-prefix_ops and ops from differ btf
Eric Biggers (2):
libbpf: Replace AF_ALG with open coded SHA-256
libbpf: Fix undefined behavior in {get,put}_unaligned_be32()
Hangbin Liu (1):
bonding: add support for per-port LACP actor priority
Jakub Kicinski (1):
uapi: wrap compiler_types.h in an ifdef instead of the implicit strip
Jiawei Zhao (2):
libbpf: Fix USDT SIB argument handling causing unrecognized register
error
libbpf: Remove unused args in parse_usdt_note
KP Singh (7):
bpf: Implement exclusive map creation
libbpf: Implement SHA256 internal helper
libbpf: Support exclusive map creation
bpf: Return hashes of maps in BPF_OBJ_GET_INFO_BY_FD
bpf: Implement signature verification for BPF programs
libbpf: Update light skeleton for signing
libbpf: Embed and verify the metadata hash in the loader
Mykyta Yatsenko (1):
bpf: bpf task work plumbing
Rong Tao (1):
bpf: Finish constification of 1st parameter of bpf_d_path()
Tony Ambardar (1):
libbpf: Fix missing #pragma in libbpf_utils.c
include/uapi/linux/bpf.h | 24 +++-
include/uapi/linux/fcntl.h | 1 +
include/uapi/linux/if_link.h | 3 +
include/uapi/linux/stddef.h | 2 +
src/bpf.c | 6 +-
src/bpf.h | 5 +-
src/bpf_gen_internal.h | 2 +
src/btf.c | 1 -
src/btf_dump.c | 1 -
src/elf.c | 1 -
src/features.c | 1 -
src/gen_loader.c | 50 ++++++-
src/libbpf.c | 108 ++++++++++++---
src/libbpf.h | 25 +++-
src/libbpf.map | 3 +
src/libbpf_errno.c | 75 ----------
src/libbpf_internal.h | 19 +++
src/libbpf_utils.c | 256 +++++++++++++++++++++++++++++++++++
src/linker.c | 1 -
src/relo_core.c | 1 -
src/ringbuf.c | 1 -
src/skel_internal.h | 76 ++++++++++-
src/str_error.c | 104 --------------
src/str_error.h | 19 ---
src/usdt.bpf.h | 44 +++++-
src/usdt.c | 73 ++++++++--
26 files changed, 650 insertions(+), 252 deletions(-)
delete mode 100644 src/libbpf_errno.c
create mode 100644 src/libbpf_utils.c
delete mode 100644 src/str_error.c
delete mode 100644 src/str_error.h
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
|
||
|
|
5acba1722d |
sync: latest libbpf changes from kernel
Syncing latest libbpf commits from kernel repository. Baseline bpf-next commit: 561c80369df0733ba0574882a1635287b20f9de2 Checkpoint bpf-next commit: 21aeabb68258ce17b91af113a768760b3a491d93 Baseline bpf commit: 561c80369df0733ba0574882a1635287b20f9de2 Checkpoint bpf commit: 27861fc720be2c39b861d8bdfb68287f54de6855 Cryolitia PukNgae (1): libbpf: Add documentation to version and error API functions Mykyta Yatsenko (1): libbpf: Export bpf_object__prepare symbol Yureka Lilian (1): libbpf: Fix reuse of DEVMAP src/libbpf.c | 10 ++++++++++ src/libbpf.h | 27 ++++++++++++++++++++++++++- 2 files changed, 36 insertions(+), 1 deletion(-) Signed-off-by: Andrii Nakryiko <andrii@kernel.org> |
||
|
|
fc687b8ee9 |
sync: latest libbpf changes from kernel
Syncing latest libbpf commits from kernel repository. Baseline bpf-next commit: 42be23e8f2dcb100cb9944b2b54b6bf41aff943d Checkpoint bpf-next commit: 561c80369df0733ba0574882a1635287b20f9de2 Baseline bpf commit: 0238c45fbbf8228f52aa4642f0cdc21c570d1dfe Checkpoint bpf commit: 561c80369df0733ba0574882a1635287b20f9de2 Achill Gilgenast (1): libbpf: Avoid possible use of uninitialized mod_len Ilya Leoshkevich (1): libbpf: Add the ability to suppress perf event enablement Jason Xing (1): net: xsk: introduce XDP_MAX_TX_SKB_BUDGET setsockopt Samiullah Khawaja (2): Add support to set NAPI threaded for individual NAPI net: define an enum for the napi threaded state include/uapi/linux/if_xdp.h | 1 + include/uapi/linux/netdev.h | 6 ++++++ src/libbpf.c | 15 +++++++++------ src/libbpf.h | 4 +++- 4 files changed, 19 insertions(+), 7 deletions(-) Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com> |
||
|
|
cb15da45c2 |
sync: latest libbpf changes from kernel
Syncing latest libbpf commits from kernel repository. Baseline bpf-next commit: e860a98c8aebd8de82c0ee901acf5a759acd4570 Checkpoint bpf-next commit: 42be23e8f2dcb100cb9944b2b54b6bf41aff943d Baseline bpf commit: bf4807c89d8f92c47404b1e4eeeefb42259d1b50 Checkpoint bpf commit: 0238c45fbbf8228f52aa4642f0cdc21c570d1dfe Andrii Nakryiko (2): libbpf: start v1.7 dev cycle libbpf: Fix handling of BPF arena relocations Eduard Zingerman (1): libbpf: Verify that arena map exists when adding arena relocations Matteo Croce (1): libbpf: Fix warning in calloc() usage Tao Chen (1): bpf: Add struct bpf_token_info include/uapi/linux/bpf.h | 8 ++++++++ src/libbpf.c | 27 +++++++++++++++++++-------- src/libbpf.map | 3 +++ src/libbpf_version.h | 2 +- 4 files changed, 31 insertions(+), 9 deletions(-) Signed-off-by: Andrii Nakryiko <andrii@kernel.org> |
||
|
|
da08818f4f |
sync: latest libbpf changes from kernel
Syncing latest libbpf commits from kernel repository. Baseline bpf-next commit: 07ee18a0bc946b6b407942c88faed089e20f47d1 Checkpoint bpf-next commit: e860a98c8aebd8de82c0ee901acf5a759acd4570 Baseline bpf commit: e34a79b96ab9d49ed8b605fee11099cf3efbb428 Checkpoint bpf commit: bf4807c89d8f92c47404b1e4eeeefb42259d1b50 Eduard Zingerman (1): libbpf: __arg_untrusted in bpf_helpers.h Kumar Kartikeya Dwivedi (3): bpf: Introduce BPF standard streams libbpf: Add bpf_stream_printk() macro libbpf: Introduce bpf_prog_stream_read() API include/uapi/linux/bpf.h | 24 ++++++++++++++++++++++++ src/bpf.c | 20 ++++++++++++++++++++ src/bpf.h | 21 +++++++++++++++++++++ src/bpf_helpers.h | 17 +++++++++++++++++ src/libbpf.map | 1 + 5 files changed, 83 insertions(+) Signed-off-by: Andrii Nakryiko <andrii@kernel.org> |
||
|
|
7a6e6b484d |
sync: latest libbpf changes from kernel
Syncing latest libbpf commits from kernel repository.
Baseline bpf-next commit: 4a4b84ba9e453295c746d81cb245c0c5d80050f0
Checkpoint bpf-next commit: 07ee18a0bc946b6b407942c88faed089e20f47d1
Baseline bpf commit: a766cfbbeb3a
Checkpoint bpf commit: e34a79b96ab9d49ed8b605fee11099cf3efbb428
Adin Scannell (1):
libbpf: Fix possible use-after-free for externs
Yuan Chen (1):
libbpf: Fix null pointer dereference in btf_dump__free on allocation
failure
src/btf_dump.c | 3 +++
src/libbpf.c | 10 +++++++---
2 files changed, 10 insertions(+), 3 deletions(-)
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
|
||
|
|
fdb04dd485 |
sync: latest libbpf changes from kernel
Syncing latest libbpf commits from kernel repository.
Baseline bpf-next commit: 9325d53fe9adff354b6a93fda5f38c165947da0f
Checkpoint bpf-next commit: 4a4b84ba9e453295c746d81cb245c0c5d80050f0
Baseline bpf commit: b4432656b36e5cc1d50a1f2dc15357543add530e
Checkpoint bpf commit: d60d09eadb7cb17690c847f1623436cd4b58c19c
Alan Maguire (1):
libbpf/btf: Fix string handling to support multi-split BTF
Amery Hung (1):
libbpf: Support creating and destroying qdisc
Andrii Nakryiko (1):
libbpf: Handle unsupported mmap-based /sys/kernel/btf/vmlinux
correctly
Blake Jones (1):
libbpf: Add support for printing BTF character arrays as strings
Ian Rogers (1):
perf/uapi: Fix PERF_RECORD_SAMPLE comments in
<uapi/linux/perf_event.h>
Ingo Molnar (1):
perf/uapi: Clean up <uapi/linux/perf_event.h> a bit
Jiawei Zhao (1):
libbpf: Correct some typos and syntax issues in usdt doc
Lorenz Bauer (1):
libbpf: Use mmap to parse vmlinux BTF from sysfs
Paul Chaignon (2):
bpf: Clarify handling of mark and tstamp by redirect_peer
bpf: Fix L4 csum update on IPv6 in CHECKSUM_COMPLETE
Saket Kumar Bhaskar (1):
selftests/bpf: Fix bpf selftest build warning
Stanislav Fomichev (1):
net: devmem: TCP tx netlink api
Tao Chen (2):
bpf: Add cookie to raw_tp bpf_link_info
bpf: Add cookie to tracing bpf_link_info
Tobias Klauser (1):
bpf: adjust path to trace_output sample eBPF program
Yonghong Song (2):
bpf: Implement mprog API on top of existing cgroup progs
libbpf: Support link-based cgroup attach with options
include/uapi/linux/bpf.h | 18 +-
include/uapi/linux/if_xdp.h | 6 +-
include/uapi/linux/netdev.h | 1 +
include/uapi/linux/perf_event.h | 657 ++++++++++++++++----------------
src/bpf.c | 44 +++
src/bpf.h | 5 +
src/btf.c | 91 ++++-
src/btf.h | 3 +-
src/btf_dump.c | 55 ++-
src/libbpf.c | 28 ++
src/libbpf.h | 20 +-
src/libbpf.map | 1 +
src/netlink.c | 20 +-
src/usdt.c | 10 +-
14 files changed, 602 insertions(+), 357 deletions(-)
Signed-off-by: Amery Hung <ameryhung@gmail.com>
|
||
|
|
374f7807e1 |
sync: latest libbpf changes from kernel
Syncing latest libbpf commits from kernel repository. Baseline bpf-next commit: 25601e85441dd91cf7973b002f27af4c5b8691ea Checkpoint bpf-next commit: 8e64c387c942229c551d0f23de4d9993d3a2acb6 Baseline bpf commit: 3f8ad18f8184 Checkpoint bpf commit: b4432656b36e5cc1d50a1f2dc15357543add530e Alan Maguire (1): libbpf: Add identical pointer detection to btf_dedup_is_equiv() Anton Protopopov (2): bpf: Fix a comment describing bpf_attr libbpf: Add likely/unlikely macros and use them in selftests Carlos Llamas (1): libbpf: Fix implicit memfd_create() for bionic Feng Yang (1): libbpf: Fix event name too long error Ihor Solodrai (1): libbpf: Verify section type in btf_find_elf_sections Jonathan Wiepert (1): Use thread-safe function pointer in libbpf_print Mykyta Yatsenko (1): libbpf: Add getters for BTF.ext func and line info Paul Chaignon (2): bpf: Clarify role of BPF_F_RECOMPUTE_CSUM bpf: Clarify the meaning of BPF_F_PSEUDO_HDR Tao Chen (1): libbpf: Remove sample_period init in perf_buffer Viktor Malik (1): libbpf: Fix buffer overflow in bpf_object__init_prog include/uapi/linux/bpf.h | 18 +++++---- src/bpf_helpers.h | 8 ++++ src/btf.c | 22 +++++++++++ src/libbpf.c | 81 +++++++++++++++++++++------------------- src/libbpf.h | 6 +++ src/libbpf.map | 4 ++ src/libbpf_internal.h | 9 +++++ src/linker.c | 2 +- 8 files changed, 103 insertions(+), 47 deletions(-) Signed-off-by: Andrii Nakryiko <andrii@kernel.org> |
||
|
|
4659eaafa4 |
sync: latest libbpf changes from kernel
Syncing latest libbpf commits from kernel repository. Baseline bpf-next commit: 488a8544f839048064ea0647596af2aaca7ecc25 Checkpoint bpf-next commit: 25601e85441dd91cf7973b002f27af4c5b8691ea Baseline bpf commit: 46e88299d19695c2b21e245c52a86ed26ed5cfee Checkpoint bpf commit: 0c2623cef4f49e1ef6a908a389eea86130d11057 David Wei (1): netdev: add io_uring memory provider info Ian Rogers (1): libbpf: Add namespace for errstr making it libbpf_errstr Jason Xing (6): bpf: Add networking timestamping support to bpf_get/setsockopt() bpf: Add BPF_SOCK_OPS_TSTAMP_SCHED_CB callback bpf: Add BPF_SOCK_OPS_TSTAMP_SND_SW_CB callback bpf: Add BPF_SOCK_OPS_TSTAMP_SND_HW_CB callback bpf: Add BPF_SOCK_OPS_TSTAMP_ACK_CB callback bpf: Add BPF_SOCK_OPS_TSTAMP_SENDMSG_CB callback Joe Damato (1): netdev-genl: Add an XSK attribute to queues Kan Liang (1): perf: Extend per event callchain limit to branch stack Mykyta Yatsenko (2): bpf: BPF token support for BPF_BTF_GET_FD_BY_ID libbpf: Pass BPF token from find_prog_btf_id to BPF_BTF_GET_FD_BY_ID Song Yoong Siang (1): xsk: Add launch time hardware offload support to XDP Tx metadata include/uapi/linux/bpf.h | 31 +++++++++++++++++++++++++++++++ include/uapi/linux/if_xdp.h | 10 ++++++++++ include/uapi/linux/netdev.h | 16 ++++++++++++++++ include/uapi/linux/perf_event.h | 2 ++ src/bpf.c | 3 ++- src/bpf.h | 3 ++- src/btf.c | 15 +++++++++++++-- src/libbpf.c | 10 +++++----- src/libbpf_internal.h | 1 + src/str_error.c | 2 +- src/str_error.h | 7 +++++-- 11 files changed, 88 insertions(+), 12 deletions(-) Signed-off-by: Mykyta Yatsenko <yatsenko@meta.com> |
||
|
|
374036c9f1 |
sync: latest libbpf changes from kernel
Syncing latest libbpf commits from kernel repository. Baseline bpf-next commit: 239860828f8660e2be487e2fbdae2640cce3fd67 Checkpoint bpf-next commit: 79d93c8ff35855d3283ee7d82dfe0c54f90b9986 Baseline bpf commit: 319fc77f8f45a1b3dba15b0cc1a869778fd222f7 Checkpoint bpf commit: 6ccf6adb05d0fe3dbb1a77ab90bf054da8a2198d Ihor Solodrai (1): libbpf: Implement bpf_usdt_arg_size BPF function Mykyta Yatsenko (3): libbpf: Use map_is_created helper in map setters libbpf: Introduce more granular state for bpf_object libbpf: Split bpf object load into prepare/load Nandakumar Edamana (1): libbpf: Fix out-of-bound read Peilin Ye (1): bpf: Introduce load-acquire and store-release instructions Yonghong Song (1): bpf: Allow pre-ordering for bpf cgroup progs include/uapi/linux/bpf.h | 4 + src/libbpf.c | 201 ++++++++++++++++++++++++++------------- src/libbpf.h | 13 +++ src/libbpf.map | 1 + src/usdt.bpf.h | 32 +++++++ 5 files changed, 183 insertions(+), 68 deletions(-) Signed-off-by: Ihor Solodrai <ihor.solodrai@linux.dev> |
||
|
|
42a6ef6316 |
sync: latest libbpf changes from kernel
Syncing latest libbpf commits from kernel repository.
Baseline bpf-next commit: 01f3ce5328c405179b2c69ea047c423dad2bfa6d
Checkpoint bpf-next commit: 239860828f8660e2be487e2fbdae2640cce3fd67
Baseline bpf commit: c45323b7560ec87c37c729b703c86ee65f136d75
Checkpoint bpf commit: 319fc77f8f45a1b3dba15b0cc1a869778fd222f7
Andrii Nakryiko (2):
libbpf: fix LDX/STX/ST CO-RE relocation size adjustment logic
libbpf: Fix hypothetical STT_SECTION extern NULL deref case
Daniel Borkmann (1):
netkit: Allow for configuring needed_{head,tail}room
Ihor Solodrai (3):
libbpf: Introduce kflag for type_tags and decl_tags in BTF
docs/bpf: Document the semantics of BTF tags with kind_flag
libbpf: Check the kflag of type tags in btf_dump
Tao Chen (1):
libbpf: Wrap libbpf API direct err with libbpf_err
Tony Ambardar (1):
libbpf: Fix accessing BTF.ext core_relo header
Yonghong Song (1):
bpf: Sync uapi bpf.h header for the tooling infra
include/uapi/linux/bpf.h | 5 +-
include/uapi/linux/btf.h | 3 +-
include/uapi/linux/if_link.h | 2 +
src/btf.c | 90 ++++++++++++++++++++++++++----------
src/btf.h | 3 ++
src/btf_dump.c | 5 +-
src/libbpf.c | 26 +++++------
src/libbpf.map | 2 +
src/linker.c | 2 +-
src/relo_core.c | 24 ++++++++--
10 files changed, 116 insertions(+), 46 deletions(-)
Signed-off-by: Ihor Solodrai <ihor.solodrai@linux.dev>
|
||
|
|
7abfe520df |
sync: latest libbpf changes from kernel
Syncing latest libbpf commits from kernel repository.
Baseline bpf-next commit: f44275e7155dc310d36516fc25be503da099781c
Checkpoint bpf-next commit: 01f3ce5328c405179b2c69ea047c423dad2bfa6d
Baseline bpf commit: 9d89551994a430b50c4fffcb1e617a057fa76e20
Checkpoint bpf commit: c45323b7560ec87c37c729b703c86ee65f136d75
Andrii Nakryiko (1):
libbpf: Work around kernel inconsistently stripping '.llvm.' suffix
Pu Lehui (2):
libbpf: Fix return zero when elf_begin failed
libbpf: Fix incorrect traversal end type ID when marking
BTF_IS_EMBEDDED
Vishal Chourasia (1):
tools: Sync if_xdp.h uapi tooling header
Yonghong Song (1):
libbpf: Add unique_match option for multi kprobe
include/uapi/linux/if_xdp.h | 4 ++--
src/btf.c | 1 +
src/btf_relocate.c | 2 +-
src/libbpf.c | 39 +++++++++++++++++++++++++++++++++++--
src/libbpf.h | 4 +++-
5 files changed, 44 insertions(+), 6 deletions(-)
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
|
||
|
|
0ff2f8e0ee |
sync: latest libbpf changes from kernel
Syncing latest libbpf commits from kernel repository.
Baseline bpf-next commit: a1087da9d11e5bcacc706002bc0f84b790881f69
Checkpoint bpf-next commit: f44275e7155dc310d36516fc25be503da099781c
Baseline bpf commit: fb86c42a2a5d44e849ddfbc98b8d2f4f40d36ee3
Checkpoint bpf commit: 9d89551994a430b50c4fffcb1e617a057fa76e20
Adrian Hunter (1):
perf/core: Add aux_pause, aux_resume, aux_start_paused
Alastair Robertson (2):
libbpf: Pull file-opening logic up to top-level functions
libbpf: Extend linker API to support in-memory ELF files
Andrii Nakryiko (1):
libbpf: don't adjust USDT semaphore address if .stapsdt.base addr is
missing
Anton Protopopov (2):
bpf: Add fd_array_cnt attribute for prog_load
libbpf: prog load: Allow to use fd_array_cnt
Ben Olson (1):
libbpf: Improve debug message when the base BTF cannot be found
Daniel Borkmann (1):
tools: Sync if_link.h uapi tooling header
Daniel Xu (1):
libbpf: Set MFD_NOEXEC_SEAL when creating memfd
Eric Dumazet (1):
net: add IFLA_MAX_PACING_OFFLOAD_HORIZON device attribute
Jiri Olsa (1):
libbpf: Fix memory leak in bpf_program__attach_uprobe_multi
Joe Damato (3):
netdev-genl: Dump napi_defer_hard_irqs
netdev-genl: Dump gro_flush_timeout
netdev-genl: Support setting per-NAPI config values
Martin Karsten (1):
net: Add napi_struct parameter irq_suspend_timeout
Quentin Monnet (1):
libbpf: Fix segfault due to libelf functions not setting errno
Sidong Yang (1):
libbpf: Change hash_combine parameters from long to unsigned long
include/uapi/linux/bpf.h | 10 +
include/uapi/linux/if_link.h | 554 +++++++++++++++++++++++++++++++-
include/uapi/linux/netdev.h | 4 +
include/uapi/linux/perf_event.h | 11 +-
src/bpf.c | 3 +-
src/bpf.h | 5 +-
src/btf.c | 4 +-
src/libbpf.c | 25 +-
src/libbpf.h | 5 +
src/libbpf.map | 4 +
src/linker.c | 248 ++++++++++----
src/usdt.c | 2 +-
12 files changed, 794 insertions(+), 81 deletions(-)
Signed-off-by: Daniel Müller <deso@posteo.net>
|
||
|
|
6c25f7dcb5 |
sync: latest libbpf changes from kernel
Syncing latest libbpf commits from kernel repository. Baseline bpf-next commit: c6fb8030b4baa01c850f99fc6da051b1017edc46 Checkpoint bpf-next commit: a1087da9d11e5bcacc706002bc0f84b790881f69 Baseline bpf commit: d5fb316e2af1d947f0f6c3666e373a54d9f27c6f Checkpoint bpf commit: fb86c42a2a5d44e849ddfbc98b8d2f4f40d36ee3 Andrii Nakryiko (1): libbpf: start v1.6 development cycle Jiri Olsa (2): bpf: Add support for uprobe multi session attach libbpf: Add support for uprobe multi session attach Mykyta Yatsenko (4): libbpf: Introduce errstr() for stringifying errno libbpf: Stringify errno in log messages in libbpf.c libbpf: Stringify errno in log messages in btf*.c libbpf: Stringify errno in log messages in the remaining code include/uapi/linux/bpf.h | 1 + src/bpf.c | 1 + src/btf.c | 26 +-- src/btf_dump.c | 3 +- src/elf.c | 4 +- src/features.c | 15 +- src/gen_loader.c | 3 +- src/libbpf.c | 375 ++++++++++++++++++--------------------- src/libbpf.h | 4 +- src/libbpf.map | 3 + src/libbpf_version.h | 2 +- src/linker.c | 21 ++- src/ringbuf.c | 34 ++-- src/str_error.c | 71 ++++++++ src/str_error.h | 7 + src/usdt.c | 32 ++-- 16 files changed, 332 insertions(+), 270 deletions(-) Signed-off-by: Andrii Nakryiko <andrii@kernel.org> |
||
|
|
891438c086 |
sync: latest libbpf changes from kernel
Syncing latest libbpf commits from kernel repository. Baseline bpf-next commit: 989a29cfed9b5092c3e18be14e9032c51bb1c9f6 Checkpoint bpf-next commit: c6fb8030b4baa01c850f99fc6da051b1017edc46 Baseline bpf commit: b836cbdf3b81a4a22b3452186efa2e5105a77e10 Checkpoint bpf commit: d5fb316e2af1d947f0f6c3666e373a54d9f27c6f Andrii Nakryiko (1): libbpf: move global data mmap()'ing into bpf_object__load() Eder Zulian (1): libbpf: Prevent compiler warnings/errors Hou Tao (1): bpf: Add the missing BPF_LINK_TYPE invocation for sockmap Kui-Feng Lee (1): libbpf: define __uptr. include/uapi/linux/bpf.h | 3 ++ src/bpf_helpers.h | 1 + src/btf_dump.c | 4 +- src/libbpf.c | 83 +++++++++++++++++++--------------------- 4 files changed, 46 insertions(+), 45 deletions(-) Signed-off-by: Andrii Nakryiko <andrii@kernel.org> |
||
|
|
fc064eb41e |
sync: latest libbpf changes from kernel
Syncing latest libbpf commits from kernel repository. Baseline bpf-next commit: b24d7f0da6ef5a23456a301eaf51b170f961d4ae Checkpoint bpf-next commit: 989a29cfed9b5092c3e18be14e9032c51bb1c9f6 Baseline bpf commit: b24d7f0da6ef5a23456a301eaf51b170f961d4ae Checkpoint bpf commit: b836cbdf3b81a4a22b3452186efa2e5105a77e10 Andrii Nakryiko (2): libbpf: fix sym_is_subprog() logic for weak global subprogs libbpf: never interpret subprogs in .text as entry programs Chen Ni (1): libbpf: Remove unneeded semicolon Eduard Zingerman (1): bpf: __bpf_fastcall for bpf_get_smp_processor_id in uapi Eric Long (1): libbpf: Do not resolve size on duplicate FUNCs Ihor Solodrai (1): libbpf: Change log level of BTF loading error message Martin Kelly (1): bpf: Update bpf_override_return() comment Matteo Croce (1): bpf: fix argument type in bpf_loop documentation Namhyung Kim (1): libbpf: Fix possible compiler warnings in hashmap Tao Chen (1): libbpf: Fix expected_attach_type set handling in program load callback Tony Ambardar (7): libbpf: Improve log message formatting libbpf: Fix header comment typos for BTF.ext libbpf: Fix output .symtab byte-order during linking libbpf: Support BTF.ext loading and output in either endianness libbpf: Support opening bpf objects of either endianness libbpf: Support linking bpf objects of either endianness libbpf: Support creating light skeleton of either endianness include/uapi/linux/bpf.h | 8 +- src/bpf_gen_internal.h | 1 + src/btf.c | 280 ++++++++++++++++++++++++++++++--------- src/btf.h | 3 + src/btf_dump.c | 2 +- src/btf_relocate.c | 2 +- src/gen_loader.c | 187 ++++++++++++++++++-------- src/hashmap.h | 20 +-- src/libbpf.c | 81 ++++++++--- src/libbpf.map | 2 + src/libbpf_internal.h | 43 +++++- src/linker.c | 84 +++++++++--- src/relo_core.c | 2 +- src/skel_internal.h | 3 +- src/zip.c | 2 +- 15 files changed, 550 insertions(+), 170 deletions(-) Signed-off-by: Andrii Nakryiko <andrii@kernel.org> |
||
|
|
91ccd57ca9 |
sync: latest libbpf changes from kernel
Syncing latest libbpf commits from kernel repository. Baseline bpf-next commit: 2ad6d23f465a4f851e3bcf6d74c315ce7b2c205b Checkpoint bpf-next commit: b24d7f0da6ef5a23456a301eaf51b170f961d4ae Baseline bpf commit: b408473ea01b2e499d23503e2bf898416da9d7ac Checkpoint bpf commit: b24d7f0da6ef5a23456a301eaf51b170f961d4ae Alan Maguire (1): bpf/bpf_get,set_sockopt: add option to set TCP-BPF sock ops flags Daniel Borkmann (1): bpf: Sync uapi bpf.h header to tools directory Donald Hunter (1): docs/bpf: Add missing BPF program types to docs Ihor Solodrai (1): libbpf: Add bpf_object__token_fd accessor Jiri Olsa (1): libbpf: Fix uretprobe.multi.s programs auto attachment Lin Yikai (1): libbpf: fix some typos in libbpf Mina Almasry (2): net: netdev netlink api to bind dma-buf to a net device netdev: add dmabuf introspection Pu Lehui (3): libbpf: Access first syscall argument with CO-RE direct read on s390 libbpf: Access first syscall argument with CO-RE direct read on arm64 libbpf: Fix accessing first syscall argument on RV64 Sam James (1): libbpf: Workaround (another) -Wmaybe-uninitialized false positive Shuyi Cheng (1): libbpf: Fixed getting wrong return address on arm64 architecture Yusheng Zheng (1): libbpf: Fix some typos in comments docs/program_types.rst | 30 ++++++++++++++++++++++++++---- include/uapi/linux/bpf.h | 25 ++++++++++++------------- include/uapi/linux/netdev.h | 13 +++++++++++++ src/bpf.h | 4 ++-- src/bpf_helpers.h | 2 +- src/bpf_tracing.h | 25 ++++++++++++++++--------- src/btf.c | 4 ++-- src/btf.h | 2 +- src/btf_dump.c | 2 +- src/libbpf.c | 13 +++++++++---- src/libbpf.h | 18 +++++++++++++----- src/libbpf.map | 1 + src/libbpf_legacy.h | 4 ++-- src/linker.c | 4 ++-- src/skel_internal.h | 2 +- src/usdt.bpf.h | 2 +- 16 files changed, 103 insertions(+), 48 deletions(-) Signed-off-by: Jordan Rome <linux@jordanrome.com> |
||
|
|
76c9f50f3e |
sync: latest libbpf changes from kernel
Syncing latest libbpf commits from kernel repository. Baseline bpf-next commit: ec5b8c76ab1c6d163762d60cfbedcd27e7527144 Checkpoint bpf-next commit: 2ad6d23f465a4f851e3bcf6d74c315ce7b2c205b Baseline bpf commit: e1533b6319ab9c3a97dad314dd88b3783bc41b69 Checkpoint bpf commit: b408473ea01b2e499d23503e2bf898416da9d7ac Alan Maguire (1): libbpf: Fix license for btf_relocate.c Andrii Nakryiko (2): libbpf: Fix no-args func prototype BTF dumping syntax libbpf: Fix bpf_object__open_skeleton()'s mishandling of options David Vernet (1): libbpf: Don't take direct pointers into BTF data from st_ops Jordan Rome (1): bpf: Add bpf_copy_from_user_str kfunc Kan Liang (1): perf/x86/intel: Support new data source for Lunar Lake Sam James (1): libbpf: Workaround -Wmaybe-uninitialized false positive Stanislav Fomichev (1): selftests/bpf: Add XDP_UMEM_TX_METADATA_LEN to XSK TX metadata test Tony Ambardar (1): libbpf: Ensure new BTF objects inherit input endianness include/uapi/linux/bpf.h | 9 ++++ include/uapi/linux/if_xdp.h | 4 ++ include/uapi/linux/perf_event.h | 6 ++- src/btf.c | 4 ++ src/btf_dump.c | 8 ++-- src/btf_relocate.c | 2 +- src/elf.c | 3 ++ src/libbpf.c | 75 ++++++++++++++------------------- 8 files changed, 62 insertions(+), 49 deletions(-) Signed-off-by: Andrii Nakryiko <andrii@kernel.org> |
||
|
|
686f600bca |
sync: latest libbpf changes from kernel
Syncing latest libbpf commits from kernel repository.
Baseline bpf-next commit: a12978712d9001b060bcc10eaae42ad5102abe2b
Checkpoint bpf-next commit: ec5b8c76ab1c6d163762d60cfbedcd27e7527144
Baseline bpf commit: b1c4b4d45263241ec6c2405a8df8265d4b58e707
Checkpoint bpf commit: e1533b6319ab9c3a97dad314dd88b3783bc41b69
Alan Maguire (1):
libbpf: Fix error handling in btf__distill_base()
Andreas Ziegler (1):
libbpf: Add NULL checks to bpf_object__{prev_map,next_map}
Andrii Nakryiko (2):
libbpf: fix BPF skeleton forward/backward compat handling
libbpf: improve old BPF skeleton handling for map auto-attach
src/btf.c | 2 +-
src/libbpf.c | 75 +++++++++++++++++++++++++++++-----------------------
2 files changed, 43 insertions(+), 34 deletions(-)
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
|
||
|
|
223cd2273e |
sync: latest libbpf changes from kernel
Syncing latest libbpf commits from kernel repository.
Baseline bpf-next commit: 531876c80004ecff7bfdbd8ba6c6b48835ef5e22
Checkpoint bpf-next commit: a12978712d9001b060bcc10eaae42ad5102abe2b
Baseline bpf commit: 62da3acd28955e7299babebdfcb14243b789e773
Checkpoint bpf commit: b1c4b4d45263241ec6c2405a8df8265d4b58e707
Alan Maguire (6):
libbpf: Add btf__distill_base() creating split BTF with distilled base
BTF
libbpf: Split BTF relocation
libbpf: BTF relocation followup fixing naming, loop logic
libbpf: Split field iter code into its own file kernel
libbpf,bpf: Share BTF relocate-related code with kernel
libbpf: Fix clang compilation error in btf_relocate.c
Andrii Nakryiko (4):
libbpf: Add BTF field iterator
libbpf: Make use of BTF field iterator in BPF linker code
libbpf: Make use of BTF field iterator in BTF handling code
libbpf: Remove callback-based type/string BTF field visitor helpers
Antoine Tenart (1):
libbpf: Skip base btf sanity checks
Donglin Peng (1):
libbpf: Checking the btf_type kind when fixing variable offsets
Eduard Zingerman (1):
libbpf: Make btf_parse_elf process .BTF.base transparently
Mykyta Yatsenko (1):
libbpf: Auto-attach struct_ops BPF maps in BPF skeleton
Vadim Fedorenko (1):
bpf: Add CHECKSUM_COMPLETE to bpf test progs
include/uapi/linux/bpf.h | 2 +
src/btf.c | 696 +++++++++++++++++++++++++++------------
src/btf.h | 36 ++
src/btf_iter.c | 177 ++++++++++
src/btf_relocate.c | 519 +++++++++++++++++++++++++++++
src/libbpf.c | 64 +++-
src/libbpf.h | 18 +
src/libbpf.map | 4 +
src/libbpf_internal.h | 29 +-
src/linker.c | 69 ++--
10 files changed, 1378 insertions(+), 236 deletions(-)
create mode 100644 src/btf_iter.c
create mode 100644 src/btf_relocate.c
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
|
||
|
|
ff856238e2 |
sync: latest libbpf changes from kernel
Syncing latest libbpf commits from kernel repository. Baseline bpf-next commit: eb4e7726279a344c82e3c23be396bcfd0a4d5669 Checkpoint bpf-next commit: 531876c80004ecff7bfdbd8ba6c6b48835ef5e22 Baseline bpf commit: 9dfdb706e164ae869b1d97f83ebf8523b2809714 Checkpoint bpf commit: 62da3acd28955e7299babebdfcb14243b789e773 Andrii Nakryiko (1): libbpf: keep FD_CLOEXEC flag when dup()'ing FD Jakub Kicinski (1): netdev: add qstat for csum complete include/uapi/linux/netdev.h | 1 + src/libbpf_internal.h | 10 +++------- 2 files changed, 4 insertions(+), 7 deletions(-) Signed-off-by: Andrii Nakryiko <andrii@kernel.org> |
||
|
|
9a1f1f28c6 |
sync: latest libbpf changes from kernel
Syncing latest libbpf commits from kernel repository.
Baseline bpf-next commit: 009367099eb61a4fc2af44d4eb06b6b4de7de6db
Checkpoint bpf-next commit: eb4e7726279a344c82e3c23be396bcfd0a4d5669
Baseline bpf commit: 3e9bc0472b910d4115e16e9c2d684c7757cb6c60
Checkpoint bpf commit: 9dfdb706e164ae869b1d97f83ebf8523b2809714
Abhishek Chauhan (1):
net: Add additional bit to support clockid_t timestamp type
Andrii Nakryiko (2):
libbpf: fix feature detectors when using token_fd
libbpf: detect broken PID filtering logic for multi-uprobe
Arnaldo Carvalho de Melo (1):
tools headers: Remove now unused copies of uapi/{fcntl,openat2}.h and
asm/fcntl.h
Daniel Jurgens (1):
netdev: Add queue stats for TX stop and wake
Mykyta Yatsenko (1):
libbpf: Configure log verbosity with env variable
Xuan Zhuo (1):
netdev: add queue stats
docs/libbpf_overview.rst | 8 +++
include/uapi/linux/bpf.h | 15 +++--
include/uapi/linux/fcntl.h | 123 -----------------------------------
include/uapi/linux/netdev.h | 21 ++++++
include/uapi/linux/openat2.h | 43 ------------
src/bpf.c | 2 +-
src/features.c | 33 +++++++++-
src/libbpf.c | 25 ++++++-
src/libbpf.h | 5 +-
9 files changed, 99 insertions(+), 176 deletions(-)
delete mode 100644 include/uapi/linux/fcntl.h
delete mode 100644 include/uapi/linux/openat2.h
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
|
||
|
|
255b705a16 |
sync: latest libbpf changes from kernel
Syncing latest libbpf commits from kernel repository. Baseline bpf-next commit: 1bba3b3d373dbafae891e7cb06b8c82c8d62aba1 Checkpoint bpf-next commit: 0737df6de94661ae55fd3343ce9abec32c687e62 Baseline bpf commit: b867247555c4181bf84eb10b72b176862c29112d Checkpoint bpf commit: 3e9bc0472b910d4115e16e9c2d684c7757cb6c60 Andrii Nakryiko (1): libbpf: better fix for handling nulled-out struct_ops program Jiri Olsa (3): bpf: Add support for kprobe session attach libbpf: Add support for kprobe session attach libbpf: Add kprobe session attach type name to attach_type_name Viktor Malik (1): libbpf: support "module: Function" syntax for tracing programs include/uapi/linux/bpf.h | 1 + src/bpf.c | 1 + src/libbpf.c | 112 +++++++++++++++++++++++++++++++-------- src/libbpf.h | 4 +- 4 files changed, 95 insertions(+), 23 deletions(-) Signed-off-by: Andrii Nakryiko <andrii@kernel.org> |
||
|
|
37b8e0eb2d |
sync: latest libbpf changes from kernel
Syncing latest libbpf commits from kernel repository. Baseline bpf-next commit: 82e38a505c9868e784ec31e743fd8a9fa5ca1084 Checkpoint bpf-next commit: 1bba3b3d373dbafae891e7cb06b8c82c8d62aba1 Baseline bpf commit: 5bcf0dcbf9066348058b88a510c57f70f384c92c Checkpoint bpf commit: b867247555c4181bf84eb10b72b176862c29112d Andrii Nakryiko (1): libbpf: handle nulled-out program in struct_ops correctly Jose E. Marchesi (1): bpf_helpers.h: Define bpf_tail_call_static when building with GCC Philo Lu (1): bpf: add mrtt and srtt as BPF_SOCK_OPS_RTT_CB args include/uapi/linux/bpf.h | 2 ++ src/bpf_helpers.h | 4 +++- src/libbpf.c | 1 + 3 files changed, 6 insertions(+), 1 deletion(-) Signed-off-by: Andrii Nakryiko <andrii@kernel.org> |
||
|
|
7cbfddfdf2 |
sync: latest libbpf changes from kernel
Syncing latest libbpf commits from kernel repository. Baseline bpf-next commit: 14bb1e8c8d4ad5d9d2febb7d19c70a3cf536e1e5 Checkpoint bpf-next commit: 82e38a505c9868e784ec31e743fd8a9fa5ca1084 Baseline bpf commit: 443574b033876c85a35de4c65c14f7fe092222b2 Checkpoint bpf commit: 5bcf0dcbf9066348058b88a510c57f70f384c92c Andrea Righi (3): libbpf: Start v1.5 development cycle libbpf: ringbuf: Allow to consume up to a certain amount of items libbpf: Add ring__consume_n / ring_buffer__consume_n Anton Protopopov (2): bpf: Add support for passing mark with bpf_fib_lookup bpf: Pack struct bpf_fib_lookup Benjamin Tissoires (1): tools: sync include/uapi/linux/bpf.h David Lechner (1): bpf: Fix typo in uapi doc comments Mykyta Yatsenko (1): bpf: improve error message for unsupported helper Quentin Deslandes (2): libbpf: Fix misaligned array closing bracket libbpf: Fix dump of subsequent char arrays Tobias Böhm (1): libbpf: Use local bpf_helpers.h include Yonghong Song (4): libbpf: Mark libbpf_kallsyms_parse static function libbpf: Handle <orig_name>.llvm.<hash> symbol properly bpf: Add bpf_link support for sk_msg and sk_skb progs libbpf: Add bpf_link support for BPF_PROG_TYPE_SOCKMAP include/uapi/linux/bpf.h | 35 +++++++++++++++++++++---- src/bpf_core_read.h | 2 +- src/btf_dump.c | 5 ++++ src/libbpf.c | 33 ++++++++++++++++++++++-- src/libbpf.h | 14 ++++++++++ src/libbpf.map | 7 +++++ src/libbpf_internal.h | 5 ---- src/libbpf_probes.c | 6 +++-- src/libbpf_version.h | 2 +- src/ringbuf.c | 55 +++++++++++++++++++++++++++++++++------- 10 files changed, 139 insertions(+), 25 deletions(-) Signed-off-by: Yonghong Song <yonghong.song@linux.dev> |
||
|
|
8db4a2feeb |
sync: latest libbpf changes from kernel
Syncing latest libbpf commits from kernel repository. Baseline bpf-next commit: e63985ecd22681c7f5975f2e8637187a326b6791 Checkpoint bpf-next commit: 14bb1e8c8d4ad5d9d2febb7d19c70a3cf536e1e5 Baseline bpf commit: 2487007aa3b9fafbd2cb14068f49791ce1d7ede5 Checkpoint bpf commit: 443574b033876c85a35de4c65c14f7fe092222b2 Alexei Starovoitov (6): libbpf: Allow specifying 64-bit integers in map BTF. bpf: Introduce bpf_arena. bpf: Disasm support for addr_space_cast instruction. libbpf: Add __arg_arena to bpf_helpers.h libbpf: Add support for bpf_arena. libbpf, selftests/bpf: Adjust libbpf, bpftool, selftests to match LLVM Andrii Nakryiko (4): libbpf: Recognize __arena global variables. bpf: support BPF cookie in raw tracepoint (raw_tp, tp_btf) programs libbpf: add support for BPF cookie for raw_tp/tp_btf programs libbpf: fix u64-to-pointer cast on 32-bit arches Arnaldo Carvalho de Melo (1): libbpf: Define MFD_CLOEXEC if not available Jakub Kicinski (2): netdev: add per-queue statistics netdev: add queue stat for alloc failures Kui-Feng Lee (1): libbpf: Skip zeroed or null fields if not found in the kernel type. Mykyta Yatsenko (1): libbpbpf: Check bpf_map/bpf_program fd validity Quentin Monnet (1): libbpf: Prevent null-pointer dereference when prog to load has no BTF Yonghong Song (2): libbpf: Add new sec_def "sk_skb/verdict" bpf: Sync uapi bpf.h to tools directory include/uapi/linux/bpf.h | 20 ++- include/uapi/linux/netdev.h | 20 +++ src/bpf.c | 16 +- src/bpf.h | 9 + src/bpf_helpers.h | 2 + src/libbpf.c | 322 +++++++++++++++++++++++++++++++----- src/libbpf.h | 13 +- src/libbpf.map | 2 + src/libbpf_probes.c | 7 + 9 files changed, 366 insertions(+), 45 deletions(-) Signed-off-by: Andrii Nakryiko <andrii@kernel.org> |
||
|
|
4f875865b7 |
sync: latest libbpf changes from kernel
Syncing latest libbpf commits from kernel repository.
Baseline bpf-next commit: 2ab256e93249f5ac1da665861aa0f03fb4208d9c
Checkpoint bpf-next commit: 7d763bc4a44a51e48dde406d6c6c8a26a60ec647
Baseline bpf commit: dced881ead78e4d6add3735d02a9186ba2415630
Checkpoint bpf commit: 2487007aa3b9fafbd2cb14068f49791ce1d7ede5
Aahil Awatramani (1):
bonding: Add independent control state machine
Alexei Starovoitov (1):
bpf: Introduce may_goto instruction
Chen Shen (1):
libbpf: Correct debug message in btf__load_vmlinux_btf
Eduard Zingerman (7):
libbpf: Allow version suffixes (___smth) for struct_ops types
libbpf: Tie struct_ops programs to kernel BTF ids, not to local ids
libbpf: Honor autocreate flag for struct_ops maps
libbpf: Sync progs autoload with maps autocreate for struct_ops maps
libbpf: Replace elf_state->st_ops_* fields with SEC_ST_OPS sec_type
libbpf: Struct_ops in SEC("?.struct_ops") / SEC("?.struct_ops.link")
libbpf: Rewrite btf datasec names starting from '?'
Kees Cook (1):
bpf: Replace bpf_lpm_trie_key 0-length array with flexible array
Kui-Feng Lee (2):
libbpf: Set btf_value_type_id of struct bpf_map for struct_ops.
libbpf: Convert st_ops->data to shadow type.
include/uapi/linux/bpf.h | 24 +++-
include/uapi/linux/if_link.h | 1 +
src/btf.c | 2 +-
src/features.c | 22 +++
src/libbpf.c | 252 +++++++++++++++++++++++++++--------
src/libbpf_internal.h | 2 +
6 files changed, 242 insertions(+), 61 deletions(-)
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
|
||
|
|
ff95bd6238 |
sync: latest libbpf changes from kernel
Syncing latest libbpf commits from kernel repository. Baseline bpf-next commit: 92a871ab9fa59a74d013bc04f321026a057618e7 Checkpoint bpf-next commit: 2ab256e93249f5ac1da665861aa0f03fb4208d9c Baseline bpf commit: 577e4432f3ac810049cb7e6b71f4d96ec7c6e894 Checkpoint bpf commit: dced881ead78e4d6add3735d02a9186ba2415630 Arnaldo Carvalho de Melo (1): tools headers UAPI: Sync linux/fcntl.h with the kernel sources Cupertino Miranda (1): libbpf: Add support to GCC in CORE macro definitions Martin Kelly (1): bpf: Clarify batch lookup/lookup_and_delete semantics Matt Bobrowski (1): libbpf: Make remark about zero-initializing bpf_*_info structs include/uapi/linux/bpf.h | 6 ++++- include/uapi/linux/fcntl.h | 3 +++ src/bpf.h | 39 ++++++++++++++++++++++++--------- src/bpf_core_read.h | 45 ++++++++++++++++++++++++++++++++------ 4 files changed, 75 insertions(+), 18 deletions(-) Signed-off-by: Kui-Feng Lee <thinker.li@gmail.com> |
||
|
|
5139f12ef1 |
sync: latest libbpf changes from kernel
Syncing latest libbpf commits from kernel repository. Baseline bpf-next commit: c8632acf193beac64bbdaebef013368c480bf74f Checkpoint bpf-next commit: ced33f2cfa21a14a292a00e31dc9f85c1bfbda1c Baseline bpf commit: 0a5bd0ffe790511d802e7f40898429a89e2487df Checkpoint bpf commit: 577e4432f3ac810049cb7e6b71f4d96ec7c6e894 Andrii Nakryiko (1): libbpf: Fix faccessat() usage on Android src/libbpf_internal.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) Signed-off-by: Andrii Nakryiko <andrii@kernel.org> |
||
|
|
2f81310ec0 |
sync: latest libbpf changes from kernel
Syncing latest libbpf commits from kernel repository.
Baseline bpf-next commit: 98e20e5e13d2811898921f999288be7151a11954
Checkpoint bpf-next commit: c8632acf193beac64bbdaebef013368c480bf74f
Baseline bpf commit: 7c5e046bdcb2513f9decb3765d8bf92d604279cf
Checkpoint bpf commit: 0a5bd0ffe790511d802e7f40898429a89e2487df
Andrey Grafin (1):
libbpf: Apply map_set_def_max_entries() for inner_maps on creation
Andrii Nakryiko (17):
libbpf: feature-detect arg:ctx tag support in kernel
libbpf: warn on unexpected __arg_ctx type when rewriting BTF
libbpf: call dup2() syscall directly
bpf: Introduce BPF token object
bpf: Add BPF token support to BPF_MAP_CREATE command
bpf: Add BPF token support to BPF_BTF_LOAD command
bpf: Add BPF token support to BPF_PROG_LOAD command
libbpf: Add bpf_token_create() API
libbpf: Add BPF token support to bpf_map_create() API
libbpf: Add BPF token support to bpf_btf_load() API
libbpf: Add BPF token support to bpf_prog_load() API
libbpf: Split feature detectors definitions from cached results
libbpf: Further decouple feature checking logic from bpf_object
libbpf: Move feature detection code into its own file
libbpf: Wire up token_fd into feature probing logic
libbpf: Wire up BPF token support at BPF object level
libbpf: Support BPF token path setting through LIBBPF_BPF_TOKEN_PATH
envvar
Daniel Borkmann (1):
bpf: Sync uapi bpf.h header for the tooling infra
Dima Tisnek (1):
libbpf: Correct bpf_core_read.h comment wrt bpf_core_relo struct
Jiri Olsa (2):
bpf: Add cookie to perf_event bpf_link_info records
bpf: Store cookies in kprobe_multi bpf_link_info data
Kan Liang (2):
perf: Add branch stack counters
perf/x86/intel: Support branch counters logging
Kui-Feng Lee (3):
bpf: pass btf object id in bpf_map_info.
bpf: pass attached BTF to the bpf_struct_ops subsystem
libbpf: Find correct module BTFs for struct_ops maps and progs.
Martin KaFai Lau (1):
libbpf: Ensure undefined bpf_attr field stays 0
include/uapi/linux/bpf.h | 79 +++-
include/uapi/linux/perf_event.h | 13 +
src/bpf.c | 42 +-
src/bpf.h | 38 +-
src/bpf_core_read.h | 2 +-
src/btf.c | 10 +-
src/elf.c | 2 -
src/features.c | 503 +++++++++++++++++++++
src/libbpf.c | 744 ++++++++++++--------------------
src/libbpf.h | 21 +-
src/libbpf.map | 1 +
src/libbpf_internal.h | 50 ++-
src/libbpf_probes.c | 12 +-
src/str_error.h | 3 +
14 files changed, 1019 insertions(+), 501 deletions(-)
create mode 100644 src/features.c
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
|
||
|
|
e2203b3057 |
sync: latest libbpf changes from kernel
Syncing latest libbpf commits from kernel repository.
Baseline bpf-next commit: 750011e239a50873251c16207b0fe78eabf8577e
Checkpoint bpf-next commit: 98e20e5e13d2811898921f999288be7151a11954
Baseline bpf commit: bc4fbf022c68967cb49b2b820b465cf90de974b8
Checkpoint bpf commit: 7c5e046bdcb2513f9decb3765d8bf92d604279cf
Alyssa Ross (1):
libbpf: Skip DWARF sections in linker sanity check
Amritha Nambiar (4):
netdev-genl: spec: Extend netdev netlink spec in YAML for queue
netdev-genl: spec: Extend netdev netlink spec in YAML for NAPI
netdev-genl: spec: Add irq in netdev netlink YAML spec
netdev-genl: spec: Add PID in netdev netlink YAML spec
Andrii Nakryiko (24):
bpf: introduce BPF token object
bpf: add BPF token support to BPF_MAP_CREATE command
bpf: add BPF token support to BPF_BTF_LOAD command
bpf: add BPF token support to BPF_PROG_LOAD command
libbpf: add bpf_token_create() API
libbpf: add BPF token support to bpf_map_create() API
libbpf: add BPF token support to bpf_btf_load() API
libbpf: add BPF token support to bpf_prog_load() API
bpf: rename MAX_BPF_LINK_TYPE into __MAX_BPF_LINK_TYPE for consistency
libbpf: split feature detectors definitions from cached results
libbpf: further decouple feature checking logic from bpf_object
libbpf: move feature detection code into its own file
libbpf: wire up token_fd into feature probing logic
libbpf: wire up BPF token support at BPF object level
libbpf: support BPF token path setting through LIBBPF_BPF_TOKEN_PATH
envvar
Revert BPF token-related functionality
libbpf: add __arg_xxx macros for annotating global func args
libbpf: make uniform use of btf__fd() accessor inside libbpf
libbpf: use explicit map reuse flag to skip map creation steps
libbpf: don't rely on map->fd as an indicator of map being created
libbpf: use stable map placeholder FDs
libbpf: move exception callbacks assignment logic into relocation step
libbpf: move BTF loading step after relocation step
libbpf: implement __arg_ctx fallback logic
Daniel Xu (1):
libbpf: Add BPF_CORE_WRITE_BITFIELD() macro
David Vernet (1):
bpf: Load vmlinux btf for any struct_ops map
Eduard Zingerman (1):
libbpf: Start v1.4 development cycle
Jakub Kicinski (1):
tools: ynl: add sample for getting page-pool information
Jamal Hadi Salim (5):
net/sched: Remove uapi support for rsvp classifier
net/sched: Remove uapi support for tcindex classifier
net/sched: Remove uapi support for dsmark qdisc
net/sched: Remove uapi support for ATM qdisc
net/sched: Remove uapi support for CBQ qdisc
Jiri Olsa (2):
libbpf: Add st_type argument to elf_resolve_syms_offsets function
bpf: Add link_info support for uprobe multi link
Larysa Zaremba (1):
xdp: Add VLAN tag hint
Mingyi Zhang (1):
libbpf: Fix NULL pointer dereference in bpf_object__collect_prog_relos
Sergei Trofimovich (1):
libbpf: Add pr_warn() for EINVAL cases in linker_sanity_check_elf
Stanislav Fomichev (3):
xsk: Support tx_metadata_len
xsk: Add TX timestamp and TX checksum offload support
xsk: Add option to calculate TX checksum in SW
include/uapi/linux/bpf.h | 14 +-
include/uapi/linux/if_xdp.h | 61 +++-
include/uapi/linux/netdev.h | 81 ++++-
include/uapi/linux/pkt_cls.h | 47 ---
include/uapi/linux/pkt_sched.h | 109 ------
src/bpf_core_read.h | 32 ++
src/bpf_helpers.h | 3 +
src/elf.c | 5 +-
src/libbpf.c | 585 +++++++++++++++++++++++++--------
src/libbpf.map | 3 +
src/libbpf_internal.h | 17 +-
src/libbpf_version.h | 2 +-
src/linker.c | 27 +-
13 files changed, 673 insertions(+), 313 deletions(-)
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
|
||
|
|
20c0a9e3d7 |
sync: latest libbpf changes from kernel
Syncing latest libbpf commits from kernel repository. Baseline bpf-next commit: 155addf0814a92d08fce26a11b27e3315cdba977 Checkpoint bpf-next commit: 750011e239a50873251c16207b0fe78eabf8577e Baseline bpf commit: 83b9dda8afa4e968d9cce253f390b01c0612a2a5 Checkpoint bpf commit: bc4fbf022c68967cb49b2b820b465cf90de974b8 Andrii Nakryiko (2): bpf: add register bounds sanity checks and sanitization bpf: rename BPF_F_TEST_SANITY_STRICT to BPF_F_TEST_REG_INVARIANTS Jordan Rome (1): bpf: Add crosstask check to __bpf_get_stack include/uapi/linux/bpf.h | 6 ++++++ 1 file changed, 6 insertions(+) Signed-off-by: Andrii Nakryiko <andrii@kernel.org> |
||
|
|
fa0e866373 |
sync: latest libbpf changes from kernel
Syncing latest libbpf commits from kernel repository.
Baseline bpf-next commit: 0e133a13370389d3894891eafe54fec2c44ad735
Checkpoint bpf-next commit: e80742d917492f10926b46b0caca050c6c9231d6
Baseline bpf commit: 8f8abb863fa5a4cc18955c6a0e17af0ded3e4a76
Checkpoint bpf commit: 83b9dda8afa4e968d9cce253f390b01c0612a2a5
Daniel Borkmann (3):
netkit, bpf: Add bpf programmable net device
tools: Sync if_link uapi header
libbpf: Add link-based API for netkit
Yonghong Song (2):
libbpf: Fix potential uninitialized tail padding with
LIBBPF_OPTS_RESET
bpf: Use named fields for certain bpf uapi structs
include/uapi/linux/bpf.h | 37 +++++----
include/uapi/linux/if_link.h | 141 +++++++++++++++++++++++++++++++++++
src/bpf.c | 16 ++++
src/bpf.h | 5 ++
src/libbpf.c | 39 ++++++++++
src/libbpf.h | 15 ++++
src/libbpf.map | 1 +
src/libbpf_common.h | 13 ++--
8 files changed, 246 insertions(+), 21 deletions(-)
Signed-off-by: Eduard Zingerman <eddyz87@gmail.com>
|
||
|
|
6a5776066c |
sync: latest libbpf changes from kernel
Syncing latest libbpf commits from kernel repository.
Baseline bpf-next commit: 2147c8d07e1abc8dfc3433ca18eed5295e230ede
Checkpoint bpf-next commit: 0e133a13370389d3894891eafe54fec2c44ad735
Baseline bpf commit: 9ff8d2717fc8f63e5cb226ddbda20649eefa2728
Checkpoint bpf commit: 9ff8d2717fc8f63e5cb226ddbda20649eefa2728
Alexandre Ghiti (1):
libbpf: Fix syscall access arguments on riscv
Andrii Nakryiko (1):
libbpf: Don't assume SHT_GNU_verdef presence for SHT_GNU_versym
section
Daan De Meyer (3):
bpf: Implement cgroup sockaddr hooks for unix sockets
libbpf: Add support for cgroup unix socket address hooks
documentation/bpf: Document cgroup unix socket address hooks
David Vernet (1):
bpf: Add ability to pin bpf timer to calling CPU
Martynas Pumputis (1):
bpf: Derive source IP addr via bpf_*_fib_lookup()
docs/program_types.rst | 10 ++++++++++
include/uapi/linux/bpf.h | 27 +++++++++++++++++++++++----
src/bpf_tracing.h | 2 --
src/elf.c | 16 ++++++++++------
src/libbpf.c | 10 ++++++++++
5 files changed, 53 insertions(+), 12 deletions(-)
Signed-off-by: Yonghong Song <yonghong.song@linux.dev>
|
||
|
|
b44eb3a8fa |
libbpf: fix bpf-checkpoint-commit
The previous sync bpf-checkpoint-commit becomes invalid due to upstream bpf tree force-push. This patch picked a new valid commit as the bpf-checkpoint-commit so the sync script can work with newer changes. Signed-off-by: Yonghong Song <yonghong.song@linux.dev> |
||
|
|
e26b84dc33 |
sync: latest libbpf changes from kernel
Syncing latest libbpf commits from kernel repository. Baseline bpf-next commit: 45ee73a0722b9e1d0b7a524d06756291b13b5912 Checkpoint bpf-next commit: 2147c8d07e1abc8dfc3433ca18eed5295e230ede Baseline bpf commit: 57eb5e1c5c57972c95e8efab6bc81b87161b0b07 Checkpoint bpf commit: 4cb893e89221be9c791e43cab6a8e937cd57e17f Hengqi Chen (3): libbpf: Resolve symbol conflicts at the same offset for uprobe libbpf: Support symbol versioning for uprobe libbpf: Allow Golang symbols in uprobe secdef Jiri Olsa (2): bpf: Add missed value to kprobe_multi link info bpf: Add missed value to kprobe perf link info Kumar Kartikeya Dwivedi (2): libbpf: Refactor bpf_object__reloc_code libbpf: Add support for custom exception callbacks Martin Kelly (8): libbpf: Refactor cleanup in ring_buffer__add libbpf: Switch rings to array of pointers libbpf: Add ring_buffer__ring libbpf: Add ring__producer_pos, ring__consumer_pos libbpf: Add ring__avail_data_size libbpf: Add ring__size libbpf: Add ring__map_fd libbpf: Add ring__consume include/uapi/linux/bpf.h | 2 + src/elf.c | 139 ++++++++++++++++++++++++++--- src/libbpf.c | 188 ++++++++++++++++++++++++++++++++------- src/libbpf.h | 73 +++++++++++++++ src/libbpf.map | 7 ++ src/ringbuf.c | 85 +++++++++++++++--- 6 files changed, 439 insertions(+), 55 deletions(-) Signed-off-by: Song Liu <song@kernel.org> |
||
|
|
10da3d2384 |
sync: latest libbpf changes from kernel
Syncing latest libbpf commits from kernel repository. Baseline bpf-next commit: 9e3b47abeb8f76c39c570ffc924ac0b35f132274 Checkpoint bpf-next commit: 45ee73a0722b9e1d0b7a524d06756291b13b5912 Baseline bpf commit: 23d775f12dcd23d052a4927195f15e970e27ab26 Checkpoint bpf commit: 57eb5e1c5c57972c95e8efab6bc81b87161b0b07 Andrii Nakryiko (1): libbpf: Add basic BTF sanity validation Ravi Bangoria (1): perf/mem: Introduce PERF_MEM_LVLNUM_UNC Stanislav Fomichev (2): bpf: expose information about supported xdp metadata kfunc bpf: Clarify error expectations from bpf_clone_redirect Yonghong Song (2): libbpf: Add __percpu_kptr macro definition bpf: Mark BPF_MAP_TYPE_PERCPU_CGROUP_STORAGE deprecated include/uapi/linux/bpf.h | 13 ++- include/uapi/linux/netdev.h | 16 ++++ include/uapi/linux/perf_event.h | 3 +- src/bpf_helpers.h | 1 + src/btf.c | 160 ++++++++++++++++++++++++++++++++ 5 files changed, 190 insertions(+), 3 deletions(-) Signed-off-by: Andrii Nakryiko <andrii@kernel.org> |
||
|
|
383198dc49 |
sync: latest libbpf changes from kernel
Syncing latest libbpf commits from kernel repository. Baseline bpf-next commit: a3e7e6b17946f48badce98d7ac360678a0ea7393 Checkpoint bpf-next commit: 0a55264cf966fb95ebf9d03d9f81fa992f069312 Baseline bpf commit: 496720b7cfb6574a8f6f4d434f23e3d1e6cfaeb9 Checkpoint bpf commit: 23d775f12dcd23d052a4927195f15e970e27ab26 Alan Maguire (1): bpf: sync tools/ uapi header with Arnaldo Carvalho de Melo (1): tools headers uapi: Sync linux/fcntl.h with the kernel sources Daniel Borkmann (5): bpf: Add generic attach/detach/query API for multi-progs bpf: Add fd-based tcx multi-prog infra with link support libbpf: Add opts-based attach/detach/query API for tcx libbpf: Add link-based API for tcx libbpf: Add helper macro to clear opts structs Daniel Xu (1): netfilter: bpf: Support BPF_F_NETFILTER_IP_DEFRAG in netfilter link Dave Marchevsky (1): libbpf: Support triple-underscore flavors for kfunc relocation Jiri Olsa (1): bpf: Add support for bpf_get_func_ip helper for uprobe program Lorenz Bauer (1): bpf, net: Support SO_REUSEPORT sockets with bpf_sk_assign Maciej Fijalkowski (1): xsk: add new netlink attribute dedicated for ZC max frags Magnus Karlsson (2): selftests/xsk: transmit and receive multi-buffer packets selftests/xsk: add basic multi-buffer test Marco Vedovati (1): libbpf: Set close-on-exec flag on gzopen Sergey Kacheev (1): libbpf: Use local includes inside the library Stanislav Fomichev (1): ynl: regenerate all headers Yafang Shao (2): bpf: Support ->fill_link_info for kprobe_multi bpf: Support ->fill_link_info for perf_event Yonghong Song (1): bpf: Support new sign-extension load insns include/uapi/linux/bpf.h | 128 +++++++++++++++++++++++++++++++----- include/uapi/linux/fcntl.h | 5 ++ include/uapi/linux/if_xdp.h | 9 +++ include/uapi/linux/netdev.h | 4 +- src/bpf.c | 127 ++++++++++++++++++++++++----------- src/bpf.h | 97 +++++++++++++++++++++++---- src/bpf_tracing.h | 2 +- src/libbpf.c | 94 +++++++++++++++++++++----- src/libbpf.h | 18 ++++- src/libbpf.map | 2 + src/libbpf_common.h | 16 +++++ src/netlink.c | 5 ++ src/usdt.bpf.h | 4 +- 13 files changed, 423 insertions(+), 88 deletions(-) Signed-off-by: Andrii Nakryiko <andrii@kernel.org> |
||
|
|
ea27ebcffd |
sync: latest libbpf changes from kernel
Syncing latest libbpf commits from kernel repository.
Baseline bpf-next commit: 25085b4e9251c77758964a8e8651338972353642
Checkpoint bpf-next commit: 856fe03d929205b4c8c8fa51296342cd85592e3f
Baseline bpf commit: ad96f1c9138e0897bee7f7c5e54b3e24f8b62f57
Checkpoint bpf commit: 496720b7cfb6574a8f6f4d434f23e3d1e6cfaeb9
Andrea Terzolo (1):
libbpf: Skip modules BTF loading when CAP_SYS_ADMIN is missing
Florian Westphal (1):
libbpf: Add netfilter link attach helper
Jackie Liu (2):
libbpf: Cross-join available_filter_functions and kallsyms for
multi-kprobes
libbpf: Use available_filter_functions_addrs with multi-kprobes
src/bpf.c | 8 ++
src/bpf.h | 6 ++
src/libbpf.c | 216 ++++++++++++++++++++++++++++++++++++++++++++++---
src/libbpf.h | 15 ++++
src/libbpf.map | 1 +
5 files changed, 233 insertions(+), 13 deletions(-)
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
|
||
|
|
3c7fcfe0ce |
sync: latest libbpf changes from kernel
Syncing latest libbpf commits from kernel repository. Baseline bpf-next commit: fcf1fa29c8ea75bf104c35ce29b65ce2ba6a6a9d Checkpoint bpf-next commit: 25085b4e9251c77758964a8e8651338972353642 Baseline bpf commit: f726e03564ef4e754dd93beb54303e2e1671049e Checkpoint bpf commit: ad96f1c9138e0897bee7f7c5e54b3e24f8b62f57 Andrii Nakryiko (2): libbpf: Ensure libbpf always opens files with O_CLOEXEC libbpf: Ensure FD >= 3 during bpf_map__reuse_fd() Florian Westphal (1): bpf: netfilter: Add BPF_NETFILTER bpf_attach_type JP Kobryn (1): libbpf: Change var type in datasec resize func Louis DeLosSantos (1): bpf: Add table ID to bpf_fib_lookup BPF helper include/uapi/linux/bpf.h | 22 +++++++++++++++++++--- src/btf.c | 2 +- src/libbpf.c | 26 +++++++++++++------------- src/libbpf_probes.c | 4 +++- src/usdt.c | 5 ++--- 5 files changed, 38 insertions(+), 21 deletions(-) Signed-off-by: Manu Bretelle <chantr4@gmail.com> |
||
|
|
9aea1da2bb |
sync: latest libbpf changes from kernel
Syncing latest libbpf commits from kernel repository.
Baseline bpf-next commit: 2ddade322925641ee2a75f13665c51f2e74d7791
Checkpoint bpf-next commit: fcf1fa29c8ea75bf104c35ce29b65ce2ba6a6a9d
Baseline bpf commit: 71b547f561247897a0a14f3082730156c0533fed
Checkpoint bpf commit: f726e03564ef4e754dd93beb54303e2e1671049e
Alexey Dobriyan (1):
ELF: fix all "Elf" typos
Andrii Nakryiko (4):
libbpf: fix offsetof() and container_of() to work with CO-RE
libbpf: Start v1.3 development cycle
bpf: Support O_PATH FDs in BPF_OBJ_PIN and BPF_OBJ_GET commands
libbpf: Add opts-based bpf_obj_pin() API and add support for path_fd
Florian Westphal (1):
tools: bpftool: print netfilter link info
JP Kobryn (1):
libbpf: Add capability for resizing datasec maps
Jiri Olsa (1):
libbpf: Store zero fd to fd_array for loader kfunc relocation
Kenjiro Nakayama (1):
libbpf: Fix comment about arc and riscv arch in bpf_tracing.h
Martin KaFai Lau (1):
libbpf: btf_dump_type_data_check_overflow needs to consider
BTF_MEMBER_BITFIELD_SIZE
include/uapi/linux/bpf.h | 24 +++++++
src/bpf.c | 17 ++++-
src/bpf.h | 18 ++++-
src/bpf_helpers.h | 15 +++--
src/bpf_tracing.h | 3 +-
src/btf_dump.c | 22 +++++-
src/gen_loader.c | 14 ++--
src/libbpf.c | 140 ++++++++++++++++++++++++++++++++++++---
src/libbpf.h | 18 ++++-
src/libbpf.map | 5 ++
src/libbpf_probes.c | 1 +
src/libbpf_version.h | 2 +-
src/usdt.c | 2 +-
13 files changed, 246 insertions(+), 35 deletions(-)
Signed-off-by: Daniel Müller <deso@posteo.net>
|
||
|
|
f0e39b4946 |
sync: latest libbpf changes from kernel
Syncing latest libbpf commits from kernel repository.
Baseline bpf-next commit: 4ca13d1002f37c10038ff4ed3cfdc70dbe049d60
Checkpoint bpf-next commit: 2ddade322925641ee2a75f13665c51f2e74d7791
Baseline bpf commit: a6f6a95f25803500079513780d11a911ce551d76
Checkpoint bpf commit: 71b547f561247897a0a14f3082730156c0533fed
Andrii Nakryiko (9):
libbpf: Don't enforce unnecessary verifier log restrictions on libbpf
side
bpf: Add log_true_size output field to return necessary log buffer
size
libbpf: Wire through log_true_size returned from kernel for
BPF_PROG_LOAD
libbpf: Wire through log_true_size for bpf_btf_load() API
libbpf: misc internal libbpf clean ups around log fixup
libbpf: report vmlinux vs module name when dealing with ksyms
libbpf: improve handling of unresolved kfuncs
libbpf: move bpf_for(), bpf_for_each(), and bpf_repeat() into
bpf_helpers.h
libbpf: mark bpf_iter_num_{new,next,destroy} as __weak
Arnaldo Carvalho de Melo (1):
tools include UAPI: Synchronize linux/fcntl.h with the kernel sources
Dave Marchevsky (1):
bpf: Introduce opaque bpf_refcount struct and add btf_record plumbing
Herbert Xu (1):
macvlan: Add netlink attribute for broadcast cutoff
Lorenzo Bianconi (1):
xdp: add xdp_set_features_flag utility routine
include/uapi/linux/bpf.h | 16 +++++-
include/uapi/linux/fcntl.h | 1 +
include/uapi/linux/if_link.h | 1 +
include/uapi/linux/netdev.h | 2 +
src/bpf.c | 17 +++---
src/bpf.h | 22 +++++--
src/bpf_helpers.h | 103 +++++++++++++++++++++++++++++++++
src/libbpf.c | 107 ++++++++++++++++++++++++++++-------
8 files changed, 237 insertions(+), 32 deletions(-)
Signed-off-by: Song Liu <song@kernel.org>
|
||
|
|
3783577161 |
sync: latest libbpf changes from kernel
Syncing latest libbpf commits from kernel repository.
Baseline bpf-next commit: 226bc6ae6405c46a6e9865835c36a1d45fc0b3bf
Checkpoint bpf-next commit: 4ca13d1002f37c10038ff4ed3cfdc70dbe049d60
Baseline bpf commit: 915efd8a446b74442039d31689d5d863caf82517
Checkpoint bpf commit: a6f6a95f25803500079513780d11a911ce551d76
Andrii Nakryiko (1):
libbpf: disassociate section handler on explicit
bpf_program__set_type() call
Arnaldo Carvalho de Melo (1):
tools include UAPI: Synchronize linux/fcntl.h with the kernel sources
Eduard Zingerman (1):
libbpf: Fix double-free when linker processes empty sections
JP Kobryn (1):
libbpf: Ensure print callback usage is thread-safe
Jakub Kicinski (1):
ynl: broaden the license even more
Lorenzo Bianconi (1):
xdp: add xdp_set_features_flag utility routine
include/uapi/linux/fcntl.h | 1 +
include/uapi/linux/netdev.h | 4 +++-
src/libbpf.c | 10 +++++++---
src/libbpf.h | 2 ++
src/linker.c | 14 +++++++++++++-
5 files changed, 26 insertions(+), 5 deletions(-)
Signed-off-by: Daniel Müller <deso@posteo.net>
|
||
|
|
dc4e7076ad |
sync: latest libbpf changes from kernel
Syncing latest libbpf commits from kernel repository.
Baseline bpf-next commit: b8a2e3f93d412114a1539ea97b59b3e6ed6e1f9a
Checkpoint bpf-next commit: 226bc6ae6405c46a6e9865835c36a1d45fc0b3bf
Baseline bpf commit: a33a6eaa19d3af261e8708bfc8ba62020703117f
Checkpoint bpf commit: 915efd8a446b74442039d31689d5d863caf82517
Alexei Starovoitov (5):
libbpf: Fix relocation of kfunc ksym in ld_imm64 insn.
libbpf: Introduce bpf_ksym_exists() macro.
libbpf: Fix ld_imm64 copy logic for ksym in light skeleton.
libbpf: Rename RELO_EXTERN_VAR/FUNC.
libbpf: Support kfunc detection in light skeleton.
Daniel Müller (1):
libbpf: Ignore warnings about "inefficient alignment"
Kui-Feng Lee (5):
bpf: Create links for BPF struct_ops maps.
libbpf: Create a bpf_link in bpf_map__attach_struct_ops().
bpf: Update the struct_ops of a bpf_link.
libbpf: Update a bpf_link with another struct_ops.
libbpf: Use .struct_ops.link section to indicate a struct_ops with a
link.
Liu Pan (1):
libbpf: Explicitly call write to append content to file
Sreevani Sreejith (1):
bpf, docs: Libbpf overview documentation
docs/index.rst | 25 +++--
docs/libbpf_overview.rst | 228 +++++++++++++++++++++++++++++++++++++
include/uapi/linux/bpf.h | 33 +++++-
src/bpf.c | 8 +-
src/bpf.h | 3 +-
src/bpf_gen_internal.h | 4 +-
src/bpf_helpers.h | 5 +
src/gen_loader.c | 48 ++++----
src/libbpf.c | 235 +++++++++++++++++++++++++++++----------
src/libbpf.h | 1 +
src/libbpf.map | 1 +
src/zip.c | 6 +
12 files changed, 501 insertions(+), 96 deletions(-)
create mode 100644 docs/libbpf_overview.rst
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
|
||
|
|
7fdf16de6d |
sync: latest libbpf changes from kernel
Syncing latest libbpf commits from kernel repository. Baseline bpf-next commit: db55174d05ee6bed9d0583ba08e99c891ef0ed05 Checkpoint bpf-next commit: b8a2e3f93d412114a1539ea97b59b3e6ed6e1f9a Baseline bpf commit: d900f3d20cc3169ce42ec72acc850e662a4d4db2 Checkpoint bpf commit: a33a6eaa19d3af261e8708bfc8ba62020703117f Andrii Nakryiko (1): bpf: implement numbers iterator Daniel Müller (1): libbpf: Fix theoretical u32 underflow in find_cd() function Jakub Kicinski (1): ynl: re-license uniformly under GPL-2.0 OR BSD-3-Clause Jesus Sanchez-Palencia (1): libbpf: Revert poisoning of strlcpy Menglong Dong (1): libbpf: Add support to set kprobe/uprobe attach mode Michael Weiß (1): bpf: Fix a typo for BPF_F_ANY_ALIGNMENT in bpf.h Puranjay Mohan (2): libbpf: Refactor parse_usdt_arg() to re-use code libbpf: USDT arm arg parsing support Ross Zwisler (1): bpf: use canonical ftrace path include/uapi/linux/bpf.h | 18 +++- include/uapi/linux/netdev.h | 2 +- src/libbpf.c | 48 ++++++++- src/libbpf.h | 50 ++++++--- src/libbpf_internal.h | 4 +- src/usdt.c | 196 ++++++++++++++++++++++-------------- src/zip.c | 3 +- 7 files changed, 219 insertions(+), 102 deletions(-) Signed-off-by: David Vernet <void@manifault.com> |