diff options
author | 2016-02-09 09:01:31 +0530 | |
---|---|---|
committer | 2016-03-09 14:40:57 +0100 | |
commit | d0684d3b8934cfb8171755cdb1fc87f4c0335655 (patch) | |
tree | c0fd5e5e119c87f38e66c89cef5a879f40d12d80 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | cpufreq: governor: Drop pointless goto from cpufreq_governor_init() (diff) | |
download | linux-dev-d0684d3b8934cfb8171755cdb1fc87f4c0335655.tar.xz linux-dev-d0684d3b8934cfb8171755cdb1fc87f4c0335655.zip |
cpufreq: governor: Create generic macro for common tunables
Some tunables are present in governor-specific structures, whereas one
(min_sampling_rate) is located directly in struct dbs_data.
There is a special macro for creating its sysfs attribute and the
show/store callbacks, but since more tunables are going to be moved
to struct dbs_data, a new generic macro for such cases will be useful,
so add it and use it for min_sampling_rate.
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Tested-by: Juri Lelli <juri.lelli@arm.com>
Tested-by: Shilpasri G Bhat <shilpa.bhat@linux.vnet.ibm.com>
[ rjw: Subject & changelog ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions