PM / tools: analyze_suspend.py: update to v3.0
authorTodd E Brandt <todd.e.brandt@linux.intel.com>
Fri, 8 Aug 2014 16:11:59 +0000 (09:11 -0700)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Sat, 9 Aug 2014 00:47:58 +0000 (02:47 +0200)
commitb8432c6fc12bdf4a6921e1640d3ead23fcd04c10
treed1aa177cf8a1ee8717d8fa1e9812b1e7537059ca
parent059802f961db9717412b6958111ca1cd1865726e
PM / tools: analyze_suspend.py: update to v3.0

Update of analyze_suspend.py to v3.0

New features include back-2-back suspend testing, device filters to
reduce the html size, the inclusion of device_prepare and device_complete
callbacks, a usb topography list, and the ability to control USB
device autosuspend.

UI upgrades include a device detail window and mini-timeline, the addition
of a suspend_prepare and resume_complete phase to the timeline which includes
the associated device callbacks, automatic highlight of related callbacks,
and general color and name changes for better reability.

The new version relies on two trace point patches that are already in
the kernel:
        enable_trace_events_suspend_resume.patch
        enable_trace_events_device_pm_callback.patch

It has legacy support for older kernels without these trace events, but
when available the tool processes the ftrace output alone (dmesg has
been deprecated as a tool input, and is only gathered for convenience).

Link: https://01.org/suspendresume/downloads/analyzesuspend-v3.0
Signed-off-by: Todd Brandt <todd.e.brandt@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
scripts/analyze_suspend.py