diff options
author | 2016-02-07 16:24:26 +0100 | |
---|---|---|
committer | 2016-03-09 14:40:56 +0100 | |
commit | bc505475b85de9a9903e84ef0b369d4637354201 (patch) | |
tree | 1ef25b149f94fe6579e4ba41a0b6abf52ebd3485 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | cpufreq: governor: Simplify cpufreq_governor_limits() (diff) | |
download | linux-dev-bc505475b85de9a9903e84ef0b369d4637354201.tar.xz linux-dev-bc505475b85de9a9903e84ef0b369d4637354201.zip |
cpufreq: governor: Rearrange governor data structures
The struct policy_dbs_info objects representing per-policy governor
data are not accessible directly from the corresponding policy
objects. To access them, one has to get a pointer to the
struct cpu_dbs_info of policy->cpu and use the policy_dbs field of
that which isn't really straightforward.
To address that rearrange the governor data structures so the
governor_data pointer in struct cpufreq_policy will point to
struct policy_dbs_info (instead of struct dbs_data) and that will
contain a pointer to struct dbs_data.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions