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)
commit0cadc70282df0d957c00e8e68ba58afeefdf0f64
tree9d49fafaa4dcfc80f1d92a5e10335030bd613a2f
parentacc82342f68d85d570db3e2f070255929b0284d9
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