Re: [PATCH 0/2] intel-speed-select: Convert output to tables
From: Srinivas Pandruvada
Date: Mon Sep 23 2019 - 14:18:32 EST
On Mon, 2019-09-23 at 09:16 -0400, Prarit Bhargava wrote:
> The turbo ratio limits and turbo frequencies add a large amount of
> lines to the output. The output can be truncated into human and
> machine readable tables to reduce the number of lines of output.
>
Unfortunately this breaks json output. The idea is that the software
should be able to parse json output using available json libraries and
consume information, without developing complex parser.
For example:
#intel-speed-select -o out.json -f json perf-profile info
Copy paste contents of out.json in any online json editor/tools, itshouldn't give error.
Thanks,
Srinivas
> Signed-off-by: Prarit Bhargava <prarit@xxxxxxxxxx>
> Cc: Srinivas Pandruvada <srinivas.pandruvada@xxxxxxxxxxxxxxx>
>
> Prarit Bhargava (2):
> intel-speed-select: Display turbo-ratio-limits as a table
> intel-speed-select: Display turbo frequencies in a table
>
> .../x86/intel-speed-select/isst-display.c | 196 +++++++++-------
> --
> 1 file changed, 94 insertions(+), 102 deletions(-)
>