]> git.baikalelectronics.ru Git - kernel.git/commit
pstore: Merge per-CPU ftrace records into one
authorJoel Fernandes <joelaf@google.com>
Thu, 20 Oct 2016 07:34:06 +0000 (00:34 -0700)
committerKees Cook <keescook@chromium.org>
Wed, 16 Nov 2016 00:34:28 +0000 (16:34 -0800)
commitbac118b5f85c70e55c6b0b5a34a97884f0526141
treed178c357fac404a3b1bfd9b4d1f6cfe44fbeaee2
parent29c8bdc59f6b4041793f49a93c7a25aea93a673c
pstore: Merge per-CPU ftrace records into one

Up until this patch, each of the per CPU ftrace buffers appear as a
separate ftrace-ramoops-N file. In this patch we merge all the zones into
one and populate a single ftrace-ramoops-0 file.

Signed-off-by: Joel Fernandes <joelaf@google.com>
[kees: clarified variables names, added -ENOMEM handling]
Signed-off-by: Kees Cook <keescook@chromium.org>
fs/pstore/ram.c