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

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).

Changes in v2:
- renamed sysfs attr pm_trace_dev_hash to pm_trace_dev_match
- renamed snprint_trace_dev_hash to show_trace_dev_match
- added comment in show_trace_dev_match referring to the fact that multiple
  devices could match the hash and they all need printing out
- added documentation to Documentation/ABI/testing/sysfs-power
- minor rewording in Documentation/power/s2ram.txt

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

 Documentation/ABI/testing/sysfs-power |   29 ++++++++++++++++++++++++++
 Documentation/power/s2ram.txt         |    7 ++++++
 drivers/base/power/trace.c            |   36 ++++++++++++++++++++++++++++++++-
 include/linux/resume-trace.h          |    2 +
 kernel/power/main.c                   |   18 ++++++++++++++++
 5 files changed, 91 insertions(+), 1 deletions(-)

-- 
1.7.2.3

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

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

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-10  1:02 [PATCH v2 0/2] pm_trace: Add locking and add sysfs attr for rechecking dev hash James Hogan
2010-10-10  1:05 ` [PATCH v2 1/2] pm_trace: Lock pm device list mutex James Hogan
2010-10-10  1:06 ` [PATCH v2 2/2] pm_trace: Add sysfs attr for rechecking dev hash James Hogan

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

Powered by JetHome