build(deps): bump github.com/cilium/ebpf from 0.17.3 to 0.19.0
Bumps github.com/cilium/ebpf from 0.17.3 to 0.19.0.
Release notes
Sourced from github.com/cilium/ebpf's releases.
v0.19.0
Major Performance Improvements
This release includes significant performance optimizations across multiple areas:
- Lazy BTF Decoding: BTF types are now decoded on-demand rather than all upfront, dramatically reducing memory usage and load times
- Faster Object Opening: Opening Maps and Programs from fd/id/pin is significantly faster through minimal info retrieval
- Improved Statistics Access: New
Program.Stats()method allows querying runtime statistics without fetching full ProgramInfoCO-RE Improvements
- Full Kernel Module Support: CO-RE relocations now work against all kernel modules, not just vmlinux
Build System and Toolchain Updates
- LLVM Toolchain: Updated to support LLVM 14, 17, and 20 (dropped LLVM 11 support)
Enhanced Map Support
- BTF Declaration Tags: Added
MapSpec.Tagsfield for readingbtf_decl_tagattributes set on maps- Better Error Handling: Improved
BPF_F_NO_PREALLOChints and warnings for map types that require this flagAssembly and Instruction Handling
- Atomic Operations: Complete support for all atomic operations beyond just atomic add
Memory and Variable Access
- New Accessors: Added accessor methods for values represented by
VariableandMemorytypesWindows Support Improvements
- Path Canonicalization: Fixed pin path handling to work with eBPF for Windows path canonicalization rules
Bug Fixes
- Map Batch Operations: Fixed value unmarshaling for partial batch operations in
BatchLookupandBatchLookupDelete(#1741)- Assembly Validation: Return
InvalidOpCodeforStoreImmwithDWordsize (#1767)- Builtin Function Calls: Allow negative constants for builtin function calls (#1797)
- CO-RE Module Types: Perform CO-RE against all kernel module types (#1511)
- Pin API: Made
WalkDirharder to misuse and added Windows support (#1652)- Struct Layout: Emit
structs.HostLayoutin GoFormatter (#1686)Compatibility Notes
- Minimum eBPF for Windows: Now requires eBPF for Windows 0.21.0 or later
- LLVM 11 Dropped: No longer supports LLVM 11 (required for declaration tag support)
What's Changed
- perf,ringbuf: switch Go build tag by
@florianlin cilium/ebpf#1752- pin: make WalkDir harder to misuse and add Windows support by
@lmbin cilium/ebpf#1736- examples: remove unnecessary -type flags to bpf2go invocations by
@ti-moin cilium/ebpf#1754- map: unmarshal values for partial batch by
@aiborin cilium/ebpf#1742- build(deps): bump golang.org/x/net from 0.36.0 to 0.38.0 by
@dependabotin cilium/ebpf#1756
... (truncated)
Commits
c221969linker: do not error out when there is nothing in/sys/kernel/btf3de0bd4btf: make stringTable.LookupCached concurrency safe22ffff5btf: introduce caching to the string table to speed up ext info loadingdab673casm: allow negative constants for builtin function calls9958a4fprogram: perform CO-RE against all kmod9b340d1btf: don't crash when rebasing empty decoder51ab2a4elf_reader: do not panic inloadMapsif ELF file has no BTF0bef90dbuild(deps): bump urllib3 from 2.4.0 to 2.5.0 in /docs3f1a755map: add MapSpec.Tags field for reading btf_decl_tag attributes set on maps87af60fMakefile: build testdata using clang-14, 17, 20- Additional commits viewable in compare view
You can trigger a rebase of this PR by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Note Automatic rebases have been disabled on this pull request as it has been open for over 30 days.
[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: Once this PR has been reviewed and has the lgtm label, please assign lizhencheng9527 for approval. For more information see the Kubernetes Code Review Process.
The full list of commands accepted by this bot can be found here.
Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment