aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorSrivatsa S. Bhat <srivatsa.bhat@linux.vnet.ibm.com>2011-12-06 23:18:12 +0100
committerRafael J. Wysocki <rjw@sisk.pl>2011-12-08 23:22:09 +0100
commit33e638b9070ba5e8812836e20390da6a6af13900 (patch)
tree3352b34c01b8b99cda506eccb432ca6463cbb651 /tools/perf/scripts/python/export-to-postgresql.py
parentMerge branch 'pm-freezer' into pm-sleep (diff)
downloadlinux-dev-33e638b9070ba5e8812836e20390da6a6af13900.tar.xz
linux-dev-33e638b9070ba5e8812836e20390da6a6af13900.zip
PM / Sleep: Use the freezer_count() functions in [un]lock_system_sleep() APIs
Now that freezer_count() and freezer_do_not_count() don't have the restriction that they are effective only when called by userspace processes, use them in lock_system_sleep() and unlock_system_sleep() instead of open-coding their parts. Signed-off-by: Srivatsa S. Bhat <srivatsa.bhat@linux.vnet.ibm.com> Acked-by: Tejun Heo <tj@kernel.org> Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions