Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
internal/pwru: replace unmaintained mitchellh/go-ps dependency
Mitchell Hashimoto has announced [1] that he'll be archiving his Go repositories in early 2024. This change updates the github.com/mitchellh/go-ps dependency with github.com/tklauser/ps which I've started a while ago as a replacement with additional features. [1] https://gist.github.com/mitchellh/90029601268e59a29e64e55bab1c5bdc Note that as a nice side effect this also changes the output to print the full path to the executable, not just the executable name which might be ambiguous. Before this change: 0xffff9137d7d2c6e0 4 [curl(239350)] ip_local_out 0xffff9137d7d2c6e0 4 [curl(239350)] __ip_local_out 0xffff9137d7d2c6e0 4 [curl(239350)] nf_hook_slow 0xffff9137d7d2c6e0 4 [curl(239350)] ip_output 0xffff9137d7d2c6e0 4 [curl(239350)] nf_hook_slow 0xffff9137d7d2c6e0 4 [curl(239350)] apparmor_ipv4_postroute 0xffff9137d7d2c6e0 4 [curl(239350)] ip_finish_output 0xffff9137d7d2c6e0 4 [curl(239350)] __cgroup_bpf_run_filter_skb 0xffff9137d7d2c6e0 4 [curl(239350)] __ip_finish_output 0xffff9137d7d2c6e0 4 [curl(239350)] ip_finish_output2 0xffff9137d7d2c6e0 4 [curl(239350)] dev_queue_xmit 0xffff9137d7d2c6e0 4 [curl(239350)] __dev_queue_xmit 0xffff9137d7d2c6e0 4 [curl(239350)] qdisc_pkt_len_init 0xffff9137d7d2c6e0 4 [curl(239350)] netdev_core_pick_tx 0xffff9137d7d2c6e0 4 [curl(239350)] validate_xmit_skb 0xffff9137d7d2c6e0 4 [curl(239350)] netif_skb_features 0xffff9137d7d2c6e0 4 [curl(239350)] skb_network_protocol 0xffff9137d7d2c6e0 4 [curl(239350)] validate_xmit_vlan 0xffff9137d7d2c6e0 4 [curl(239350)] skb_csum_hwoffload_help 0xffff9137d7d2c6e0 4 [curl(239350)] validate_xmit_xfrm 0xffff9137d7d2c6e0 4 [curl(239350)] dev_hard_start_xmit 0xffff9137d7d2c6e0 4 [curl(239350)] skb_push After this change: 0xffff9137cb2ebae0 2 [/usr/bin/curl(250468)] ip_local_out 0xffff9137cb2ebae0 2 [/usr/bin/curl(250468)] __ip_local_out 0xffff9137cb2ebae0 2 [/usr/bin/curl(250468)] nf_hook_slow 0xffff9137cb2ebae0 2 [/usr/bin/curl(250468)] ip_output 0xffff9137cb2ebae0 2 [/usr/bin/curl(250468)] nf_hook_slow 0xffff9137cb2ebae0 2 [/usr/bin/curl(250468)] apparmor_ipv4_postroute 0xffff9137cb2ebae0 2 [/usr/bin/curl(250468)] ip_finish_output 0xffff9137cb2ebae0 2 [/usr/bin/curl(250468)] __cgroup_bpf_run_filter_skb 0xffff9137cb2ebae0 2 [/usr/bin/curl(250468)] __ip_finish_output 0xffff9137cb2ebae0 2 [/usr/bin/curl(250468)] ip_finish_output2 0xffff9137cb2ebae0 2 [/usr/bin/curl(250468)] dev_queue_xmit 0xffff9137cb2ebae0 2 [/usr/bin/curl(250468)] __dev_queue_xmit 0xffff9137cb2ebae0 2 [/usr/bin/curl(250468)] qdisc_pkt_len_init 0xffff9137cb2ebae0 2 [/usr/bin/curl(250468)] netdev_core_pick_tx 0xffff9137cb2ebae0 2 [/usr/bin/curl(250468)] validate_xmit_skb 0xffff9137cb2ebae0 2 [/usr/bin/curl(250468)] netif_skb_features 0xffff9137cb2ebae0 2 [/usr/bin/curl(250468)] skb_network_protocol 0xffff9137cb2ebae0 2 [/usr/bin/curl(250468)] validate_xmit_vlan 0xffff9137cb2ebae0 2 [/usr/bin/curl(250468)] skb_csum_hwoffload_help 0xffff9137cb2ebae0 2 [/usr/bin/curl(250468)] validate_xmit_xfrm 0xffff9137cb2ebae0 2 [/usr/bin/curl(250468)] dev_hard_start_xmit 0xffff9137cb2ebae0 2 [/usr/bin/curl(250468)] skb_push Signed-off-by: Tobias Klauser <tobias@cilium.io>
- Loading branch information