android_kernel_samsung_msm8976/fs/pstore
Mark Salyzyn f20fbdb1b8 [PATCH v4 4/5] pstore: add pmsg
A secured user-space accessible pstore object. Writes
to /dev/pmsg0 are appended to the buffer, on reboot
the persistent contents are available in
/sys/fs/pstore/pmsg-ramoops-[ID].

One possible use is syslogd, or other daemon, can
write messages, then on reboot provides a means to
triage user-space activities leading up to a panic
as a companion to the pstore dmesg or console logs.

Signed-off-by: Mark Salyzyn <salyzyn@android.com>

v2: switch from snprintf to scnprintf
v3: split out prz_ok checking into PATCH 3/5
    replace pmsg_lseek with noop_llseek
    use pr_fmt() macro
    make write atomic and use a vmalloc'd bounce buffer
v4: use mutex_lock instead of spin_lock.

Change-Id: I82a2a9a989d7583c5fcb65ff520027dc3a034a4c
Git-commit: 53d8e1c7141617e8656420afb44f9536e7cf0519
Git-repo: https://android.googlesource.com/kernel/common.git
Signed-off-by: Ian Maund <imaund@codeaurora.org>
2015-03-19 15:00:02 -07:00
..
ftrace.c pstore/ftrace: Adjust for ftrace_ops->func prototype change 2012-12-12 19:50:04 -08:00
inode.c [PATCH v4 4/5] pstore: add pmsg 2015-03-19 15:00:02 -07:00
internal.h [PATCH v4 4/5] pstore: add pmsg 2015-03-19 15:00:02 -07:00
Kconfig [PATCH v4 4/5] pstore: add pmsg 2015-03-19 15:00:02 -07:00
Makefile [PATCH v4 4/5] pstore: add pmsg 2015-03-19 15:00:02 -07:00
platform.c [PATCH v4 4/5] pstore: add pmsg 2015-03-19 15:00:02 -07:00
pmsg.c [PATCH v4 4/5] pstore: add pmsg 2015-03-19 15:00:02 -07:00
ram.c [PATCH v4 4/5] pstore: add pmsg 2015-03-19 15:00:02 -07:00
ram_core.c pstore/ram: Restore ecc information block 2013-04-03 21:50:10 -07:00