2019-09-25 13:47:07

by Prarit Bhargava

[permalink] [raw]
Subject: [PATCH 0/2] intel-speed-select: Convert output to tables

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.

Signed-off-by: Prarit Bhargava <[email protected]>
Cc: Srinivas Pandruvada <[email protected]>

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(-)

--
2.21.0


2019-09-25 22:58:07

by srinivas pandruvada

[permalink] [raw]
Subject: Re: [PATCH 0/2] intel-speed-select: Convert output to tables

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 <[email protected]>
> Cc: Srinivas Pandruvada <[email protected]>
>
> 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(-)
>