LWN.net Logo

pstore: add interface for dumpers and add task list dumper

From:  dragos.tatulea@intel.com
To:  ccross@android.com, keescook@chromium.org, tony.luck@intel.com, cbouatmailru@gmail.com, linux-kernel@vger.kernel.org
Subject:  [PATCH v2 0/8] pstore: add interface for dumpers and add task list dumper
Date:  Thu, 18 Oct 2012 11:28:20 +0300
Message-ID:  <1350548908-24407-1-git-send-email-dragos.tatulea@intel.com>
Cc:  adrian.hunter@intel.com, octavian.purdila@intel.com, Dragos Tatulea <dragos.tatulea@intel.com>
Archive-link:  Article, Thread

From: Dragos Tatulea <dragos.tatulea@intel.com>

This patchset adds an interface for registering various clients (dumpers)
that can save info into pstore at crash time.

Such a dumper is added which does task list dumping.

v2 changes:
v1 patchset was corrupted.

Adrian Hunter (4):
  pstore: add flags
  pstore: add debugfs support for causing dumps and panics
  pstore: add support for external writers
  pstore: do not run timer while pstore is not mounted

Dragos Tatulea (4):
  pstore: allow storing different type id's in ram backend
  pstore: add task list dumper
  pstore: make sure pstore_write exists on flush error
  pstore: max out console log level during sysfs dump switch

 fs/pstore/Kconfig      |   12 ++++
 fs/pstore/Makefile     |    1 +
 fs/pstore/dump_tasks.c |  107 ++++++++++++++++++++++++++++
 fs/pstore/inode.c      |    6 ++
 fs/pstore/internal.h   |    2 +
 fs/pstore/platform.c   |  184 ++++++++++++++++++++++++++++++++++++++++++++++--
 fs/pstore/ram.c        |   18 +++--
 include/linux/pstore.h |   46 ++++++++++--
 8 files changed, 356 insertions(+), 20 deletions(-)
 create mode 100644 fs/pstore/dump_tasks.c

-- 
1.7.9.5

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Copyright © 2012, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds