pstore/ram: Refactor ftrace buffer merging
authorKees Cook <keescook@chromium.org>
Fri, 8 May 2020 15:34:38 +0000 (08:34 -0700)
committerKees Cook <keescook@chromium.org>
Sat, 30 May 2020 17:34:02 +0000 (10:34 -0700)
commitdf9bf19d88965758c700f46ef75110336fea8654
tree3523faec4afc25c0e227970796c73a669c2fcf15
parent26961d76ff35aecb1af0fefd283fb5170786a812
pstore/ram: Refactor ftrace buffer merging

This changes the ftrace record merging code to be agnostic of
pstore/ram, as the first step to making it available as a generic
routine for other backends to use, such as pstore/zone.

Link: https://lore.kernel.org/lkml/20200510202436.63222-6-keescook@chromium.org/
Signed-off-by: Kees Cook <keescook@chromium.org>
fs/pstore/ram.c