linux/tools/power/x86
Srinivas Pandruvada fcf127839e 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>
2023-06-12 16:04:02 -07:00
..
amd_pstate_tracer PM: tools: use canonical ftrace path 2023-02-02 15:45:35 +01:00
intel_pstate_tracer PM: tools: use canonical ftrace path 2023-02-02 15:45:35 +01:00
intel-speed-select tools/power/x86/intel-speed-select: Fix json formatting issue 2023-06-12 16:04:02 -07:00
turbostat tools/power turbostat: version 2023.03.17 2023-03-17 11:36:46 -04:00
x86_energy_perf_policy The main part of this branch is the ongoing fight against windmills in 2020-12-14 13:29:34 -08:00