]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
PM: sleep: Show how long dpm_suspend_start() and dpm_suspend_end() take
authorBart Van Assche <bvanassche@acm.org>
Wed, 5 Jun 2019 16:12:37 +0000 (09:12 -0700)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 14 Jun 2019 09:06:35 +0000 (11:06 +0200)
commit3540d38dd38308b811c6ddaf2fde03e9948cc1c1
tree4a9b76fc9083e10bcb5294d93331dfbd20c3b6ce
parent1ec0cd8286f35988134e05367ab5e66213b84e7c
PM: sleep: Show how long dpm_suspend_start() and dpm_suspend_end() take

When debugging device driver power management code it is convenient to
know how much time is spent in the "suspend start" and "suspend end"
phases. Hence log the time spent in these phases.

Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/base/power/main.c