summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorIonela Voinescu <ionela.voinescu@arm.com>2020-10-27 18:07:11 +0000
committerPeter Zijlstra <peterz@infradead.org>2020-11-19 11:25:47 +0100
commit31f6a8c0a471be7d7d05c93eac50fcb729e79b9d (patch)
tree75904defe592809ef90aa67fcf0558f9c8205524 /tools/perf/scripts/python
parent480a6ca2dc6ed82c783faf7e4a9644769b8397d8 (diff)
sched/topology,schedutil: Wrap sched domains rebuild
Add the rebuild_sched_domains_energy() function to wrap the functionality that rebuilds the scheduling domains if any of the Energy Aware Scheduling (EAS) initialisation conditions change. This functionality is used when schedutil is added or removed or when EAS is enabled or disabled through the sched_energy_aware sysctl. Therefore, create a single function that is used in both these cases and that can be later reused. Signed-off-by: Ionela Voinescu <ionela.voinescu@arm.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Acked-by: Quentin Perret <qperret@google.com> Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Link: https://lkml.kernel.org/r/20201027180713.7642-2-ionela.voinescu@arm.com
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions