public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] pm_trace: Add locking and add sysfs attr for rechecking dev hash.
@ 2010-10-09 22:34 James Hogan
  2010-10-09 22:36 ` [PATCH 1/2] pm_trace: Lock pm device list mutex James Hogan
  2010-10-09 22:37 ` [PATCH 2/2] pm_trace: Add sysfs attr for rechecking dev hash James Hogan
  0 siblings, 2 replies; 12+ messages in thread
From: James Hogan @ 2010-10-09 22:34 UTC (permalink / raw)
  To: linux-pm, linux-kernel, linux-doc
  Cc: Len Brown, Pavel Machek, Rafael J. Wysocki, Randy Dunlap,
	Greg Kroah-Hartman, Alan Stern, Jesse Barnes, markgross

A fix and an improvement to the pm_trace code.

The improvement allows finding out via sysfs which device was last traced when 
the device is part of a kernel module (which means it doesn't get printed on 
next boot since it isn't loaded yet).

Unsure as always about what to name stuff, so comments most welcome.

James Hogan (2):
  pm_trace: Lock pm device list mutex.
  pm_trace: Add sysfs attr for rechecking dev hash.

 Documentation/power/s2ram.txt |    7 +++++++
 drivers/base/power/trace.c    |   32 +++++++++++++++++++++++++++++++-
 include/linux/resume-trace.h  |    2 ++
 kernel/power/main.c           |   18 ++++++++++++++++++
 4 files changed, 58 insertions(+), 1 deletions(-)

-- 
1.7.2.3

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2010-10-10 22:13 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-09 22:34 [PATCH 0/2] pm_trace: Add locking and add sysfs attr for rechecking dev hash James Hogan
2010-10-09 22:36 ` [PATCH 1/2] pm_trace: Lock pm device list mutex James Hogan
2010-10-09 22:43   ` Rafael J. Wysocki
2010-10-09 22:37 ` [PATCH 2/2] pm_trace: Add sysfs attr for rechecking dev hash James Hogan
2010-10-09 22:49   ` Rafael J. Wysocki
2010-10-09 23:13     ` James Hogan
2010-10-09 23:30       ` Rafael J. Wysocki
2010-10-10 18:04   ` Pavel Machek
2010-10-10 19:47     ` James Hogan
2010-10-10 20:47       ` Pavel Machek
2010-10-10 21:19         ` James Hogan
2010-10-10 22:12           ` Rafael J. Wysocki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox