mirror-linux/tools/net/ynl/pyynl
Jakub Kicinski 71a58ec667 tools: ynl: cli: make the output compact
Make the default (non-JSON) output more compact. Looking at RSS
context dumps is pretty much impossible without this, because
default print shows the indirection table with line per entry:

  'indir': [0,
            1,
            2,
	    ...

And indirection tables have 100-200 entries each.

The compact output is far more readable:

    'indir': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15,
              16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29,

Reviewed-by: Donald Hunter <donald.hunter@gmail.com>
Link: https://patch.msgid.link/20260131203029.1173492-1-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2026-02-02 17:06:14 -08:00
..
lib Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2026-01-15 18:02:48 -08:00
.gitignore
__init__.py
cli.py tools: ynl: cli: make the output compact 2026-02-02 17:06:14 -08:00
ethtool.py tools: ynl: ethtool: fix pylint issues 2026-01-09 08:55:33 -08:00
ynl_gen_c.py tools: ynl-gen-c: Fix remaining pylint warnings 2026-01-09 08:55:34 -08:00
ynl_gen_rst.py tools: ynl: fix pylint issues in ynl_gen_rst 2026-01-09 08:55:33 -08:00