aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
diff options
context:
space:
mode:
authorJon Hunter <[email protected]>2016-09-12 12:01:10 +0100
committerRafael J. Wysocki <[email protected]>2016-09-13 02:49:33 +0200
commit0159ec670763dde7c8518034eda8ab9ec267fd23 (patch)
tree15e612d6ffe8178b4734f4a7d4d8d5d9e796a815 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
parent892ebdcccb4e11c5b43036a50e89e3869df5b429 (diff)
PM / Domains: Verify the PM domain is present when adding a provider
When a PM domain provider is added, there is currently no way to tell if any PM domains associated with the provider are present. Naturally, the PM domain provider should not be registered if the PM domains have not been added. Nonetheless, verify that the PM domain(s) associated with a provider are present when registering the PM domain provider. This change adds a dependency on the function pm_genpd_present() when CONFIG_PM_GENERIC_DOMAINS_OF is enabled and so ensure this function is available when CONFIG_PM_GENERIC_DOMAINS_OF selected. Signed-off-by: Jon Hunter <[email protected]> Acked-by: Ulf Hansson <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions