Message ID | 20190923131638.6668-1-prarit@redhat.com (mailing list archive) |
---|---|
Headers | show |
Series | intel-speed-select: Convert output to tables | expand |
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@redhat.com> > Cc: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> > > 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(-) >
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 <prarit@redhat.com> Cc: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> 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(-)