diff options
author | 2013-02-06 09:02:12 -0800 | |
---|---|---|
committer | 2013-02-09 12:55:59 +0100 | |
commit | 633d47d653f3a717fb68293d24ab7059c480f71b (patch) | |
tree | fbfefad484062cacdd5541dc1aa4bbad2d2f0bbf /tools/perf/scripts/python/export-to-postgresql.py | |
parent | cpufreq: Do not track governor name for scaling drivers with internal governors. (diff) | |
download | linux-dev-633d47d653f3a717fb68293d24ab7059c480f71b.tar.xz linux-dev-633d47d653f3a717fb68293d24ab7059c480f71b.zip |
cpufreq_stats: do not remove sysfs files if frequency table is not present
The sysfs files for cpufreq_stats are created in cpufreq_stats_create_table()
called from cpufreq_stat_notifier_policy() when a policy is added to
the cpu. cpufreq_stats_create_table() will not be called if the
scaling driver does not export a frequency table to cpufreq. Use the
same fence on tear down.
Signed-off-by: Dirk Brandewie <dirk.j.brandewie@intel.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions