mozillazg / ptcpdump

Process-aware, eBPF-based tcpdump
MIT License
486 stars 38 forks source link

fix(deps): update module github.com/cilium/ebpf to v0.15.0 #6

Closed renovate[bot] closed 5 months ago

renovate[bot] commented 5 months ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
github.com/cilium/ebpf v0.14.0 -> v0.15.0 age adoption passing confidence

Release Notes

cilium/ebpf (github.com/cilium/ebpf) ### [`v0.15.0`](https://togithub.com/cilium/ebpf/releases/tag/v0.15.0) [Compare Source](https://togithub.com/cilium/ebpf/compare/v0.14.0...v0.15.0) ##### btf: `bpf_core_type_matches` is now supported Programs can now use `bpf_core_type_matches()` for a stricter compatibility check. See [https://github.com/cilium/ebpf/pull/1366](https://togithub.com/cilium/ebpf/pull/1366). ##### program, btf: improve debuggability when CO-RE or kfunc fixup fails The library now tries to return a more informative error when loading a program fails due to a failed CO-RE relocation or a missing kfunc. See [https://github.com/cilium/ebpf/pull/1402](https://togithub.com/cilium/ebpf/pull/1402). ##### btf: synthesise instruction comments into line info `asm.Comment` in an instruction's `Source()` are now passed to the kernel in the form of BTF line info. See [https://github.com/cilium/ebpf/pull/1417](https://togithub.com/cilium/ebpf/pull/1417). ##### perf: add WakeupEvents support to Reader A perf Reader can now be configured to be woken up after a specific number of events / samples have been submitted. See [https://github.com/cilium/ebpf/pull/1404](https://togithub.com/cilium/ebpf/pull/1404). #### Bugfixes - `program`: fix loading a program which targets a function in a kernel module when `CONFIG_DEBUG_INFO_BTF_MODULES` is disabled, see [#​1440](https://togithub.com/cilium/ebpf/issues/1440). #### Breaking changes ##### github.com/cilium/ebpf/btf - `Copy`: the `transform` argument was removed. Use the new `btf.As` function instead. - `Transformer`: removed. See above. #### What's Changed - btf: use recursion by [@​lmb](https://togithub.com/lmb) in [https://github.com/cilium/ebpf/pull/1397](https://togithub.com/cilium/ebpf/pull/1397) - gh: hopefully fix apidiff workflow by [@​lmb](https://togithub.com/lmb) in [https://github.com/cilium/ebpf/pull/1401](https://togithub.com/cilium/ebpf/pull/1401) - gh: only cancel pull_request runs by [@​lmb](https://togithub.com/lmb) in [https://github.com/cilium/ebpf/pull/1403](https://togithub.com/cilium/ebpf/pull/1403) - build(deps): bump pymdown-extensions from 10.7 to 10.7.1 in /docs by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/cilium/ebpf/pull/1410](https://togithub.com/cilium/ebpf/pull/1410) - build(deps): bump mkdocs-git-authors-plugin from 0.7.2 to 0.8.0 in /docs by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/cilium/ebpf/pull/1411](https://togithub.com/cilium/ebpf/pull/1411) - build(deps): bump mkdocs-material from 9.5.12 to 9.5.16 in /docs by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/cilium/ebpf/pull/1409](https://togithub.com/cilium/ebpf/pull/1409) - program, btf: improve debuggability when CO-RE or kfunc fixup fails by [@​lmb](https://togithub.com/lmb) in [https://github.com/cilium/ebpf/pull/1402](https://togithub.com/cilium/ebpf/pull/1402) - add WakeupEvents support to perf Reader by [@​brycekahle](https://togithub.com/brycekahle) in [https://github.com/cilium/ebpf/pull/1404](https://togithub.com/cilium/ebpf/pull/1404) - Extend go test CI from 10 to 15 miniutes by [@​dylandreimerink](https://togithub.com/dylandreimerink) in [https://github.com/cilium/ebpf/pull/1418](https://togithub.com/cilium/ebpf/pull/1418) - btf: synthesise instruction comments into line info by [@​MarcusWichelmann](https://togithub.com/MarcusWichelmann) in [https://github.com/cilium/ebpf/pull/1417](https://togithub.com/cilium/ebpf/pull/1417) - Add support to retrieve missed counts from probes by [@​olsajiri](https://togithub.com/olsajiri) in [https://github.com/cilium/ebpf/pull/1295](https://togithub.com/cilium/ebpf/pull/1295) - perf: fix TestPerfReaderWakeupEvents by [@​lmb](https://togithub.com/lmb) in [https://github.com/cilium/ebpf/pull/1423](https://togithub.com/cilium/ebpf/pull/1423) - Don't mention inexistent outLen parameter in (\*Program).Test godoc by [@​tklauser](https://togithub.com/tklauser) in [https://github.com/cilium/ebpf/pull/1426](https://togithub.com/cilium/ebpf/pull/1426) - btf: refuse reloTypeIDTarget for kmod types by [@​lmb](https://togithub.com/lmb) in [https://github.com/cilium/ebpf/pull/1422](https://togithub.com/cilium/ebpf/pull/1422) - when ringbuffer map size is not a power-of-2 multiple of page size, prompt users in a user-friendly way by [@​hengyoush](https://togithub.com/hengyoush) in [https://github.com/cilium/ebpf/pull/1420](https://togithub.com/cilium/ebpf/pull/1420) - btf: Add support for `bpf_core_type_matches()` by [@​dylandreimerink](https://togithub.com/dylandreimerink) in [https://github.com/cilium/ebpf/pull/1366](https://togithub.com/cilium/ebpf/pull/1366) - Define LookupLock by means of BPF_F_LOCK by [@​tklauser](https://togithub.com/tklauser) in [https://github.com/cilium/ebpf/pull/1428](https://togithub.com/cilium/ebpf/pull/1428) - build(deps): bump idna from 3.6 to 3.7 in /docs by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/cilium/ebpf/pull/1431](https://togithub.com/cilium/ebpf/pull/1431) - fix function name by [@​looklose](https://togithub.com/looklose) in [https://github.com/cilium/ebpf/pull/1427](https://togithub.com/cilium/ebpf/pull/1427) - doc: rephrase supported kernel versions by [@​lmb](https://togithub.com/lmb) in [https://github.com/cilium/ebpf/pull/1439](https://togithub.com/cilium/ebpf/pull/1439) - Use latest Go version for ARM64 and VM tests in CI by [@​tklauser](https://togithub.com/tklauser) in [https://github.com/cilium/ebpf/pull/1430](https://togithub.com/cilium/ebpf/pull/1430) - program: don't return error when kmod BTF is disabled by [@​orishuss](https://togithub.com/orishuss) in [https://github.com/cilium/ebpf/pull/1440](https://togithub.com/cilium/ebpf/pull/1440) #### New Contributors - [@​hengyoush](https://togithub.com/hengyoush) made their first contribution in [https://github.com/cilium/ebpf/pull/1420](https://togithub.com/cilium/ebpf/pull/1420) - [@​looklose](https://togithub.com/looklose) made their first contribution in [https://github.com/cilium/ebpf/pull/1427](https://togithub.com/cilium/ebpf/pull/1427) - [@​orishuss](https://togithub.com/orishuss) made their first contribution in [https://github.com/cilium/ebpf/pull/1440](https://togithub.com/cilium/ebpf/pull/1440) **Full Changelog**: https://github.com/cilium/ebpf/compare/v0.14.0...v0.15.0

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Never, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.



This PR has been generated by Mend Renovate. View repository job log here.