diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2017-03-28 01:20:13 +0300 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2017-03-29 00:12:16 +0300 |
commit | 8ca6ce37014e5a9b127fc076448eb95e2b366d05 (patch) | |
tree | 5e4c5992213ef14d8c1178ac17a095be1b08bbdf /tools/perf/scripts/python/stackcollapse.py | |
parent | 2f49afc2a6f6ec4bacb2e50d5482ecc111b41ab5 (diff) | |
download | linux-8ca6ce37014e5a9b127fc076448eb95e2b366d05.tar.xz |
cpufreq: intel_pstate: Introduce pid_in_use()
Add a new function pid_in_use() to return the information on whether
or not the PID-based P-state selection algorithm is in use.
That allows a couple of complicated conditions in the code to be
reduced to simple checks against the new function's return value.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions