On 6/14/19 11:28 AM, Jakub Kicinski wrote: > Add JSON output support to q_netem. > > The normal output is untouched. > > In JSON output always use seconds as the base of time units, > and non-percentage numbers (0.01 instead of 1%). Try to always > report the fields, even if they are zero. > All this should make the output more machine-friendly. > > Signed-off-by: Jakub Kicinski <jakub.kicin...@netronome.com> > Reviewed-by: Quentin Monnet <quentin.mon...@netronome.com> > --- > tc/q_netem.c | 174 +++++++++++++++++++++++++++++++-------------------- > 1 file changed, 107 insertions(+), 67 deletions(-) >
applied to iproute2-next. Thanks