pouriyajamshidi / flat

Measure UDP and TCP connection latency for IPv4 and IPv6 using eBPF and Go
GNU General Public License v3.0
20 stars 3 forks source link

Bump github.com/cilium/ebpf from 0.15.0 to 0.16.0 #40

Closed dependabot[bot] closed 3 months ago

dependabot[bot] commented 3 months ago

Bumps github.com/cilium/ebpf from 0.15.0 to 0.16.0.

Release notes

Sourced from github.com/cilium/ebpf's releases.

v0.16.0

program: automatic verifier log sizing and ProgramInfo.RecursionMisses()

For the longest time users had to specify ProgramOptions.LogSize to get the full verifier log for large programs. The library now automatically figures out the correct buffer size to use and the field is deprecated. It will be removed in the next version.

ProgramInfo now exposes how often a program didn't execute due to recursion limits via RecursionMisses.

perf, ringbuf: better control over wakeups, Flush()

There is a trade off between how fast samples are processed and how much CPU is used. Reading samples as quickly as possible uses more CPU, reading in batches is cheaper.

It's now possible to configure a "maximum time before a wakeup" by using Reader.SetDeadline(). This now guarantees that any pending samples are read at the end of the deadline, even if the Watermark wasn't reached.

It's also possible to manually flush the buffer using Flush().

Bugfixes

  • The various Copy() methods now to a full deep copy and all accept nil values.
  • link: kprobe and uprobe links can now be pinned.

What's Changed

... (truncated)

Commits
  • 061e86d map: remove misleading error message when creating without BTF
  • b689d28 btf: fix panic when copying nil Type
  • 218b9f9 program: deprecate LogSize and VerifierError.Truncated
  • 63c6cf8 map: do not allocate on lookup when key doesn't exist
  • a61222d fix a variety of Copy() problems
  • fbb9ed8 perf: do not add offline CPUs
  • 7e18818 info: make it harder to add backwards incompatible API
  • 88e8f88 link: fix nil pointer dereference in AttachXDP
  • 5976561 map: fix flaky TestMapIteratorAllocations
  • 9bd3c36 perf: fix panic when CPU is offline
  • Additional commits viewable in compare view


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will 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 version` will 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 dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)