summaryrefslogtreecommitdiffstats
path: root/drivers/pci/htirq.c
diff options
context:
space:
mode:
authorTodd E Brandt2014-06-10 16:31:22 +0200
committerRafael J. Wysocki2014-06-11 02:16:48 +0200
commite8bca479c3f269ebb3a3acea5ef63314bb677060 (patch)
tree9c0663c4fe0150ebdd8f45084885ca23214e63ce /drivers/pci/htirq.c
parentPM / sleep: trace events for suspend/resume (diff)
downloadkernel-qcow2-linux-e8bca479c3f269ebb3a3acea5ef63314bb677060.tar.gz
kernel-qcow2-linux-e8bca479c3f269ebb3a3acea5ef63314bb677060.tar.xz
kernel-qcow2-linux-e8bca479c3f269ebb3a3acea5ef63314bb677060.zip
PM / sleep: trace events for device PM callbacks
Adds two trace events which supply the same info that initcall_debug provides, but via ftrace instead of dmesg. The existing initcall_debug calls require the pm_print_times_enabled var to be set (either via sysfs or via the kernel cmd line). The new trace events provide all the same info as the initcall_debug prints but with less overhead, and also with coverage of device prepare and complete device callbacks. These events replace the device_pm_report_time event (which has been removed). device_pm_callback_start is called first and provides the device and callback info. device_pm_callback_end is called after with the device name and error info. The time and pid are gathered from the trace data headers. Signed-off-by: Todd Brandt <todd.e.brandt@intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/pci/htirq.c')
0 files changed, 0 insertions, 0 deletions