linux/fs/pstore
Joel Fernandes a1cf53ac6d ramoops: Split ftrace buffer space into per-CPU zones
If the RAMOOPS_FLAG_FTRACE_PER_CPU flag is passed to ramoops pdata, split
the ftrace space into multiple zones depending on the number of CPUs.

This speeds up the performance of function tracing by about 280% in my
tests as we avoid the locking. The trade off being lesser space available
per CPU. Let the ramoops user decide which option they want based on pdata
flag.

Signed-off-by: Joel Fernandes <joelaf@google.com>
[kees: added max_ftrace_cnt to track size, added DT logic and docs]
Signed-off-by: Kees Cook <keescook@chromium.org>
2016-11-15 16:34:26 -08:00
..
ftrace.c pstore: add pstore unregister 2015-10-22 08:59:18 -07:00
inode.c fs: Replace CURRENT_TIME with current_time() for inode timestamps 2016-09-27 21:06:21 -04:00
internal.h pstore: Fix return type of pstore_is_mounted() 2015-10-22 10:57:33 -07:00
Kconfig pstore: add lzo/lz4 compression support 2016-06-02 10:59:31 -07:00
Makefile pstore: add pstore unregister 2015-10-22 08:59:18 -07:00
platform.c pstore: Actually give up during locking failure 2016-11-08 16:44:33 -08:00
pmsg.c pstore/pmsg: drop bounce buffer 2016-09-08 15:01:10 -07:00
ram_core.c pstore: Allow prz to control need for locking 2016-11-15 16:34:25 -08:00
ram.c ramoops: Split ftrace buffer space into per-CPU zones 2016-11-15 16:34:26 -08:00