summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorViresh Kumar <viresh.kumar@linaro.org>2025-01-22 15:31:49 +0530
committerViresh Kumar <viresh.kumar@linaro.org>2025-02-07 09:45:11 +0530
commitdc47f23f1df65a6b61b5d1f8d25cc4ff30a67a00 (patch)
tree259fc9f54d736f00145af56555c3ff723f09f49d /tools/perf/scripts/python/export-to-postgresql.py
parent4ba6d37ccca1e4ac07ad660006bf130726a11ff7 (diff)
cpufreq: Always create freq-table related sysfs file
Currently it is left for the individual drivers to set the available and boost frequencies related attributes in the cpufreq_driver->attr field. Some drivers provide them, while others don't. A quick search revealed that only the drivers that set the policy->freq_table field, enable these attributes. Which makes sense as well, since the show_available_freqs() helper works only if the freq_table is present. In order to simplify drivers, create the relevant sysfs files forcefully from cpufreq core. For now, skip adding them twice. This can be removed once all the drivers are updated. Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Acked-by: Rafael J. Wysocki <rafael@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions