summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorSrinivas Pandruvada <srinivas.pandruvada@linux.intel.com>2023-02-04 07:29:02 +0300
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2023-02-07 22:51:15 +0300
commit621084965459d2b9e2713844aac4d803d5bb6d67 (patch)
tree63dbf65ad9779033fa441359168e4019d153ea0a /tools/perf/scripts/python/export-to-sqlite.py
parent72ffc28f2fe8bce4e5b682caedf7a26c4998c756 (diff)
downloadlinux-621084965459d2b9e2713844aac4d803d5bb6d67.tar.xz
thermal: intel: powerclamp: Return last requested state as cur_state
When the user is reading cur_state from the thermal cooling device for Intel powerclamp device: - It returns the idle ratio from Package C-state counters when there is active idle injection session. - -1, when there is no active idle injection session. This information is not very useful as the package C-state counters vary a lot from read to read. Instead just return the last requested cur_state. Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions