github cilium/pwru v1.0.11
Release v1.0.11

6 hours ago

Major Changes

  • pwru can trace BPF map operations with --output-bpfmap #453 #632. For example:
    pwru --filter-track-bpf-helpers --output-bpfmap 'udp' 
    ...
    0xffff8aecbed7b200 4   qemu-kvm:98915   4026533848 0             eth0:2      0x0800 1500  148   172.128.0.7:52228->172.128.0.6:8472(udp)   bpf_skb_load_bytes
    0x0                4   qemu-kvm:98915   4026533848 0             eth0:2      0x0800 1500  148   172.128.0.7:52228->172.128.0.6:8472(udp)   __htab_map_lookup_elem
    map_id: 466
    map_name: cilium_lb4_serv
    key(12):
    00000000  ac 80 00 06 21 18 00 00  11 00 00 00              |....!.......|
    value(12):
    00000000  00 00 00 00 00 00 00 00  00 00 00 00              |............|
    ...
    
    BTF-based pretty-printing is coming in a next release.
  • libpcap-based filtering for XDP with --filter-track-xdp was fixed #603 #609 #635.
  • pwru can filter based on sk_buff and xdp_buff fields #499. For example, you can use `skb->dev->ifindex == 42' to show traces of packets which are processed by a netdev with the interface index equal to 42.
  • pwru was ported to run on RISC-V64 #604.
  • Performance was improved for pwru trace outputting and process name resolution #634.

What's Changed

  • Update README.md by @brb in #590
  • pwru: Add --filter-skb-expr and --filter-xdp-expr by @Asphaltt in #499
  • chore(deps): update all dependencies by @renovate[bot] in #592
  • gh/workflows: Add test for --filter-skb-expr by @brb in #593
  • Automatically LVH update kernels by @brb in #594
  • chore(deps): update all dependencies by @renovate[bot] in #595
  • fix(deps): update module github.com/spf13/pflag to v1.0.10 by @renovate[bot] in #596
  • fix(deps): update all go dependencies main by @renovate[bot] in #598
  • chore(deps): update softprops/action-gh-release action to v2.3.3 by @renovate[bot] in #597
  • chore(deps): update actions/setup-go digest to c0137ca by @renovate[bot] in #599
  • cleanup: small code cleanups by @Andreagit97 in #600
  • new: add logs for traced ebpf progs by @Andreagit97 in #601
  • libpcap: build without DPDK by @hack3ric in #606
  • chore(deps): update all dependencies by @renovate[bot] in #605
  • renovate: update release Go image by @tklauser in #607
  • chore(deps): update all dependencies by @renovate[bot] in #608
  • chore(deps): update all dependencies to v1.25.2 by @renovate[bot] in #611
  • fix(deps): update all go dependencies main by @renovate[bot] in #612
  • Add repology badge to list all distro pkgs by @brb in #614
  • chore(deps): update all dependencies by @renovate[bot] in #613
  • gh/workflows: Renovate lvh-version by @brb in #615
  • bpf: Harden getting func ip by @Asphaltt in #609
  • chore(deps): update all dependencies by @renovate[bot] in #616
  • update: use bpf_get_func_ip if available by @Andreagit97 in #603
  • chore(deps): update all dependencies by @renovate[bot] in #618
  • fix(deps): update module github.com/jsimonetti/rtnetlink/v2 to v2.1.0 by @renovate[bot] in #617
  • fix(deps): update module github.com/cilium/ebpf to v0.20.0 by @renovate[bot] in #619
  • fix(deps): update module github.com/cilium/ebpf to v0.20.0 by @renovate[bot] in #620
  • Add riscv64 support by @hack3ric in #604
  • chore(deps): update all dependencies by @renovate[bot] in #622
  • Fix path for available_filter_functions access by @Seas0 in #623
  • chore(deps): update all dependencies by @renovate[bot] in #624
  • fix(deps): update all go dependencies main by @renovate[bot] in #625
  • chore(deps): update all dependencies by @renovate[bot] in #626
  • chore(deps): update all dependencies by @renovate[bot] in #628
  • chore(deps): update all dependencies by @renovate[bot] in #630
  • fix(deps): update all go dependencies main by @renovate[bot] in #629
  • chore(deps): update all dependencies by @renovate[bot] in #631
  • Collect bpf helper arguments related to bpf map by @jschwinger233 in #453
  • bpf: Use get_addr() in BPF map kprobes by @brb in #632
  • Improve logging by @brb in #633
  • bpf: Fix pcap filter bypass with --filter-trace-xdp and --filter-track-skb by @brb in #635
  • chore(deps): update golang:1.25.5 docker digest to 6cc2338 by @renovate[bot] in #636
  • Misc improvements by @brb in #634
  • chore(deps): update all dependencies by @renovate[bot] in #637
  • fix(deps): update module golang.org/x/sys to v0.40.0 by @renovate[bot] in #638
  • chore(deps): update all dependencies by @renovate[bot] in #640
  • fix(deps): update module golang.org/x/net to v0.49.0 - autoclosed by @renovate[bot] in #641
  • chore(deps): update actions/checkout action to v6.0.2 by @renovate[bot] in #643
  • chore(deps): update all dependencies by @renovate[bot] in #647
  • Modernize Go code by @tklauser in #644
  • go.mod, tools: use Go 1.24 tool dependencies by @tklauser in #645

New Contributors

Full Changelog: v1.0.10...v1.0.11

Don't miss a new pwru release

NewReleases is sending notifications on new releases.