Commit fcf1278
committed
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>1 parent 4ebde55 commit fcf1278
1 file changed
Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2113 | 2113 | | |
2114 | 2114 | | |
2115 | 2115 | | |
2116 | | - | |
2117 | 2116 | | |
2118 | 2117 | | |
2119 | 2118 | | |
| |||
2192 | 2191 | | |
2193 | 2192 | | |
2194 | 2193 | | |
| 2194 | + | |
| 2195 | + | |
2195 | 2196 | | |
2196 | 2197 | | |
2197 | 2198 | | |
2198 | 2199 | | |
| 2200 | + | |
2199 | 2201 | | |
2200 | 2202 | | |
2201 | 2203 | | |
| |||
2434 | 2436 | | |
2435 | 2437 | | |
2436 | 2438 | | |
| 2439 | + | |
| 2440 | + | |
| 2441 | + | |
2437 | 2442 | | |
2438 | 2443 | | |
2439 | 2444 | | |
2440 | 2445 | | |
2441 | 2446 | | |
2442 | 2447 | | |
| 2448 | + | |
2443 | 2449 | | |
2444 | 2450 | | |
2445 | 2451 | | |
| |||
0 commit comments