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)
committerRiham Haidar <rhaidar@nvidia.com>
Mon, 12 May 2014 23:35:20 +0000 (16:35 -0700)
commit55c61b1caf7264af93df00617b5a81f40e38b8e7
tree1cc694a1917475d78591054fabba098049315cd3
parent88c90d7d007d1480d93abb6b6ddbd89e89efcaa7
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>
(cherry picked from commit ee8b09cd60bfe45d856e7c3bef8742835686bf4e)
Change-Id: Ie4bf1a39cb854be70dbe52991ea0bfcf15ae2339
Reviewed-on: http://git-master/r/406861
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Bharat Nihalani <bnihalani@nvidia.com>
scripts/analyze_suspend.py [new file with mode: 0755]