use get_task_name in ss
Status from this message: This series was applied to iproute2/iproute2.git (main)
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | lib: add root path argument to get_task_nameinclude/ ip/ lib/ +8 more | +17 | 0 replies | |
| 2/2 | ss: use get_task_name instead of parsing statmisc/ | +12 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH iproute2 0/2] use get_task_name in ss
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(-)
Signature · 1 line
2.53.0