aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorRafael J. Wysocki <rjw@sisk.pl>2011-08-08 17:43:14 -0400
committerRafael J. Wysocki <rjw@sisk.pl>2011-08-25 09:33:43 -0400
commit3c07cbc488bfd1ad1abf64d09cc692339b5f8a83 (patch)
treed53a2a9a3635092f289b66dabcbac0fbcefe8d50 /tools/perf/util/scripting-engines/trace-event-python.c
parentc4bb3160c8823d3a1e581d7e05fb8b343097e7c8 (diff)
PM / Domains: Do not take parent locks to modify subdomain counters
After the subdomain counter in struct generic_pm_domain has been changed into an atomic_t field, it is possible to modify pm_genpd_poweron() and pm_genpd_poweroff() so that they don't take the parents locks. This requires pm_genpd_poweron() to increment the parent's subdomain counter before calling itself recursively for the parent and to decrement it if an error is to be returned. Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions