diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2023-02-22 14:06:38 +0300 |
---|---|---|
committer | Viresh Kumar <viresh.kumar@linaro.org> | 2023-04-03 07:15:09 +0300 |
commit | 528f2d8d540a3c374d6b765c769620d91536b176 (patch) | |
tree | b71e2d6df288b7d9856a38739d3ccdfdbf03237a /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 29b1a92e5e953214388ac1f3656cb3af266ca74f (diff) | |
download | linux-528f2d8d540a3c374d6b765c769620d91536b176.tar.xz |
OPP: Move required opps configuration to specialized callback
The required-opps configuration is closely tied to genpd and performance
states at the moment and it is not very obvious that required-opps can
live without genpds. Though we don't support configuring required-opps
for non-genpd cases currently.
This commit aims at separating these parts, where configuring genpds
would be a special case of configuring the required-opps.
Add a specialized callback, set_required_opps(), to the opp table and
set it to different callbacks accordingly.
This shouldn't result in any functional changes for now.
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions