We are pleased to release the 1.0.8 version of pwru
.
The major changes include:
pwru
is now able to trace BPF helpers (#390). To enable it, set--filter-track-bpf-helpers
. In addition, when it is set together with--output-caller
, it can be used to roughly trace BPF tailcalls. For example:
# pwru --output-caller --output-tuple --filter-track-bpf-helpers
...
10.244.1.141:45000->10.244.3.20:8080(tcp) bpf_map_lookup_elem bpf_prog_5fd02288bd4a682e_tail_ipv4_ct_egress[bpf]
10.244.1.141:45000->10.244.3.20:8080(tcp) array_map_update_elem bpf_prog_5fd02288bd4a682e_tail_ipv4_ct_egress[bpf]
10.244.1.141:45000->10.244.3.20:8080(tcp) trie_lookup_elem bpf_prog_4f62c9416e340c61_tail_handle_ipv4_cont[bpf]
10.244.1.141:45000->10.244.3.20:8080(tcp) percpu_array_map_lookup_elem bpf_prog_4f62c9416e340c61_tail_handle_ipv4_cont[bpf]
10.244.1.141:45000->10.244.3.20:8080(tcp) __htab_map_lookup_elem bpf_prog_4f62c9416e340c61_tail_handle_ipv4_cont[bpf]
...
- Fix tracking of
sk_buff
built fromxdp_md
when--filter-track-skb
is used (#410).
Functional changes:
- 81b7b62 - Enable --output-tuple and --output-meta by default (@brb)
- ca38cef - Do not open kcore in init() (@brb)
- 4a5c234 - Fix Dockerfile (@brb)
- db68c01 - Bump Go version to 1.23.1 (@brb)
- 3bf9d91 - Abort if runtime.GOARCH is not amd64 (@jschwinger233)
- 18838c4 - Update vendor (@jschwinger233)
- 7deb4a0 - Add --filter-track-bpf-helpers (@jschwinger233)
- fc7e097 - Add GetBpfHelpers() API (@jschwinger233)
- 2893168 - Track xdp_md built from skb (@jschwinger233)
- 2f09d77 - Track skb built from xdp_md (@jschwinger233)
- 3824944 - bpf: Use &skb for --filter-track-skb again (@jschwinger233)
- ce21b83 - bpf: Use percpu array to replace __sync_fetch_and_add (@jschwinger233)
- 57280a7 - Update README.md (@Huweicai)
- 0aa10ab - Update README.md (@brb)
Dependency changes:
- 5b08f7c - build(deps): bump golang.org/x/net from 0.27.0 to 0.28.0
- 332cff1 - build(deps): bump actions/upload-artifact from 4.3.5 to 4.3.6
- 325cab1 - build(deps): bump golang.org/x/sync from 0.7.0 to 0.8.0
- d7cc422 - build(deps): bump actions/upload-artifact from 4.3.4 to 4.3.5
- e510628 - build(deps): bump golang.org/x/sys from 0.22.0 to 0.23.0
- c0806cf - build(deps): bump github.com/cilium/ebpf from 0.15.0 to 0.16.0
- 6d10c6f - build(deps): bump golang.org/x/sys from 0.23.0 to 0.24.0
- ce305f0 - build(deps): bump actions/setup-go from 5.0.1 to 5.0.2
- f23574b - build(deps): bump cilium/little-vm-helper from 0.0.18 to 0.0.19