summaryrefslogtreecommitdiff
path: root/scripts/analyze_suspend.py
AgeCommit message (Collapse)Author
2014-05-12PM / tools: new tool for suspend/resume performance optimizationTodd E Brandt
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>