PM / tools: new tool for suspend/resume performance optimization
authorTodd E Brandt <todd.e.brandt@linux.intel.com>
Fri, 17 Jan 2014 00:18:22 +0000 (16:18 -0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 17 Jan 2014 00:47:26 +0000 (01:47 +0100)
commitee8b09cd60bfe45d856e7c3bef8742835686bf4e
treeb24081a4e879a0b7a9872d262296cb55fc769469
parentfdfe840e480c56dc1119c31bb4fcc211b1b9b46f
PM / tools: new tool for suspend/resume performance optimization

This tool is designed to assist kernel and OS developers in optimizing
their linux stack's suspend/resume time. Using a kernel image built with a
few extra options enabled, the tool will execute a suspend and will
capture dmesg and ftrace data until resume is complete. This data is
transformed into a device timeline and a callgraph to give a quick and
detailed view of which devices and callbacks are taking the most time in
suspend/resume. The output is a single html file which can be viewed in
firefox or chrome.

References: https://01.org/suspendresume
Signed-off-by: Todd Brandt <todd.e.brandt@linux.intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
scripts/analyze_suspend.py [new file with mode: 0755]