]> git.baikalelectronics.ru Git - kernel.git/commit
PM / sleep: new suspend_resume trace event for console resume
authorTodd E Brandt <todd.e.brandt@linux.intel.com>
Fri, 19 Sep 2014 21:07:12 +0000 (14:07 -0700)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 22 Sep 2014 12:53:23 +0000 (14:53 +0200)
commit64be306bc52c712b593f2b807d4160ccd52e3bd9
tree9d49fafaa4dcfc80f1d92a5e10335030bd613a2f
parentd1e603907d86fe7c456db1c07f60adcbb5a52de2
PM / sleep: new suspend_resume trace event for console resume

This patch adds another suspend_resume trace event for analyze_suspend
to capture. The resume_console call can take several hundred milliseconds
if the printk buffer is full of debug info. The tool will now inform
testers of the wasted time and encourage them to disable it in
production builds.

Signed-off-by: Todd Brandt <todd.e.brandt@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
kernel/power/suspend.c