PM / sleep: add pm-trace support for suspending phase
authorZhonghui Fu <zhonghui.fu@linux.intel.com>
Wed, 18 Mar 2015 14:54:27 +0000 (15:54 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 18 Mar 2015 14:54:27 +0000 (15:54 +0100)
commit431d452af13720463dda498999b2e9a08729c03a
tree581e00b8b20d6fbc60df1d0d0c4390141abe1f4f
parent1d4a9c17d4d204a159139361e8d4db7f9f267879
PM / sleep: add pm-trace support for suspending phase

Occasionally, the system can't come back up after suspend/resume
due to problems of device suspending phase. This patch make
PM_TRACE infrastructure cover device suspending phase of
suspend/resume process, and the information in RTC can tell
developers which device suspending function make system hang.

Signed-off-by: Zhonghui Fu <zhonghui.fu@linux.intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
arch/x86/include/asm/pm-trace.h [new file with mode: 0644]
arch/x86/include/asm/resume-trace.h [deleted file]
drivers/base/power/main.c
drivers/base/power/trace.c
include/linux/pm-trace.h [new file with mode: 0644]
include/linux/resume-trace.h [deleted file]
kernel/power/main.c