diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2017-03-28 01:17:10 +0300 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2017-03-29 00:12:16 +0300 |
commit | 67dd9bf4416305811d58280dbe108d78ab573d56 (patch) | |
tree | 1e7189f9830f45309cac43aa6d97cbadbe6297f4 /tools/perf/scripts/python/stackcollapse.py | |
parent | eabd22c657f1d23c714f536b859a22a0f22ac7f5 (diff) | |
download | linux-67dd9bf4416305811d58280dbe108d78ab573d56.tar.xz |
cpufreq: intel_pstate: Add update_util callback to pstate_funcs
Avoid using extra function pointers during P-state selection by
dropping the get_target_pstate member from struct pstate_funcs,
adding a new update_util callback to it (to be registered with
the CPU scheduler as the utilization update callback in the active
mode) and reworking the utilization update callback routines to
invoke specific P-state selection functions directly.
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