]> 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)
commit47766ecd8edecc2a7ca712fc6e444a77e971cac0
treed178c357fac404a3b1bfd9b4d1f6cfe44fbeaee2
parentcc46218541e3f862d3071ff080eb5867fc95df1b
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