Netdev List
 help / color / mirror / Atom feed
* [PATCH iproute2 0/2] use get_task_name in ss
@ 2026-10-21 15:57 Stephen Hemminger
  2026-10-21 15:57 ` [PATCH iproute2 1/2] lib: add root path argument to get_task_name Stephen Hemminger
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Stephen Hemminger @ 2026-10-21 15:57 UTC (permalink / raw)
  To: netdev; +Cc: dsahern, Stephen Hemminger

Recent proposed patch by Prashanth showed that ss command parsing of 
proc with fscanf is fragile. Here is a pair of patches which allows
reusing existing code in iproute2 lib/fs for that instead.

Stephen Hemminger (2):
  lib: add root path argument to get_task_name
  ss: use get_task_name instead of parsing stat

 include/utils.h |  2 +-
 ip/iptuntap.c   |  2 +-
 lib/fs.c        |  9 +++++++--
 misc/ss.c       | 34 ++++++++++++----------------------
 rdma/res-cmid.c |  2 +-
 rdma/res-cq.c   |  2 +-
 rdma/res-ctx.c  |  2 +-
 rdma/res-mr.c   |  2 +-
 rdma/res-pd.c   |  2 +-
 rdma/res-qp.c   |  2 +-
 rdma/res-srq.c  |  2 +-
 rdma/stat.c     |  2 +-
 12 files changed, 29 insertions(+), 34 deletions(-)

-- 
2.53.0


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-10-22 18:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-21 15:57 [PATCH iproute2 0/2] use get_task_name in ss Stephen Hemminger
2026-10-21 15:57 ` [PATCH iproute2 1/2] lib: add root path argument to get_task_name Stephen Hemminger
2026-10-21 15:57 ` [PATCH iproute2 2/2] ss: use get_task_name instead of parsing stat Stephen Hemminger
2026-10-22 18:30 ` [PATCH iproute2 0/2] use get_task_name in ss patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox