diff options
author | 2023-05-22 12:55:24 -0700 | |
---|---|---|
committer | 2023-06-12 16:04:02 -0700 | |
commit | fcf127839e6a37bfb0f3ac102c8bc7988f627df2 (patch) | |
tree | 5c59782e70946d8c4159438299166451e9689035 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | tools/power/x86/intel-speed-select: Adjust scope of core-power config (diff) | |
download | wireguard-linux-fcf127839e6a37bfb0f3ac102c8bc7988f627df2.tar.xz wireguard-linux-fcf127839e6a37bfb0f3ac102c8bc7988f627df2.zip |
tools/power/x86/intel-speed-select: Fix json formatting issue
Fix two issues related to JSON formatting:
1.
intel-speed-select -f json -o cp.out -c 1 core-power assoc -c 1
Intel(R) Speed Select Technology
Executing on CPU model:143[0x8f]
[root@spr-bkc bin]# cat cp.out | jq .
"package-0:die-0:cpu-1"
2.
intel-speed-select -f json -o tf.out turbo-freq enable -a
Intel(R) Speed Select Technology
Executing on CPU model:143[0x8f]
[root@spr-bkc bin]# cat tf.out | jq .
{
"package-0:die-0:cpu-0": {
"turbo-freq": {
"enable": "success"
}
},
"package-1:die-0:cpu-48": {
"turbo-freq": {
"enable": "success"
}
}
}
"turbo-freq --auto"
parse error: Expected string key before ':' at line 17, column 24
Both of these issues needed proper closing "}" for JSON.
Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions