Skip to content

misc: convert to high-level json_print API

Andrea Claudi netdev 1 version Applied

Status from this message: applied to iproute2-next; thanks for working on cleanups.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/3ifstat: convert to high-level json_print APImisc/ifstat.c+37 -480 replies
2/3nstat: convert to high-level json_print APImisc/nstat.c+21 -270 replies
3/3lnstat: convert to high-level json_print APImisc/lnstat.c+7 -100 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH iproute2-next 0/3] misc: convert to high-level json_print API

This patch series converts three utilities in the misc/ directory (ifstat, nstat, and lnstat) from using the low-level json_writer API to the high-level json_print API, ensuring they use the same json printing logic of all the other iproute2 tools.

The JSON output before and after these changes remains the same.

Andrea Claudi (3):
ifstat: convert to high-level json_print API
nstat: convert to high-level json_print API
lnstat: convert to high-level json_print API

 misc/ifstat.c | 85 ++++++++++++++++++++++-----------------------------
 misc/lnstat.c | 17 +++++------
 misc/nstat.c  | 48 +++++++++++++----------------
 3 files changed, 65 insertions(+), 85 deletions(-)
Signature · 1 line
2.51.0