diff options
author | 2025-05-06 22:34:31 +0200 | |
---|---|---|
committer | 2025-05-07 21:17:56 +0200 | |
commit | f42c8556a0690802246dc588ae9c18184f71d8f5 (patch) | |
tree | 0a99b9594bf78902e1b6c60dc4d5e95f320690f8 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | Merge back cpufreq material for 6.16 (diff) | |
download | linux-rng-f42c8556a0690802246dc588ae9c18184f71d8f5.tar.xz linux-rng-f42c8556a0690802246dc588ae9c18184f71d8f5.zip |
cpufreq/sched: schedutil: Add helper for governor checks
Add a helper for checking if schedutil is the current governor for
a given cpufreq policy and use it in sched_is_eas_possible() to avoid
accessing cpufreq policy internals directly from there.
No intentional functional impact.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Reviewed-by: Christian Loehle <christian.loehle@arm.com>
Tested-by: Christian Loehle <christian.loehle@arm.com>
Reviewed-by: Dietmar Eggemann <dietmar.eggemann@arm.com>
Link: https://patch.msgid.link/3365956.44csPzL39Z@rjwysocki.net
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions