[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20181102105818.4eaed5dc@redhat.com>
Date: Fri, 2 Nov 2018 10:58:18 +0100
From: Stefano Brivio <sbrivio@...hat.com>
To: Jakub Kicinski <kubakici@...pl>
Cc: David Ahern <dsahern@...il.com>,
"Yoann P." <yoann.p.public@...il.com>,
Stephen Hemminger <stephen@...workplumber.org>,
netdev@...r.kernel.org
Subject: Re: [PATCH iproute2 net-next 0/3] ss: Allow selection of columns to
be displayed
On Thu, 1 Nov 2018 14:06:23 -0700
Jakub Kicinski <kubakici@...pl> wrote:
> JSONification would probably be quite an undertaking for ss :(
Probably not too much, and we would skip buffering for JSON as we don't
need to print columns, so we don't have to care about buffering and
rendering performance too much.
All it takes is to extend a bit the out() function and pass the right
arguments to it -- it looks way easier than implementing format
strings, even though I'd like the latter more.
--
Stefano
Powered by blists - more mailing lists