diff options
author | Anton Vorontsov <anton.vorontsov@linaro.org> | 2012-07-10 04:10:40 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-07-17 20:51:38 +0400 |
commit | 897dba027445be93f40e5caf550556ca38c48c51 (patch) | |
tree | 22b28b1681dd32d9ff9686009c16a5540ce5bc90 /fs/pstore/ftrace.c | |
parent | b2ad368bebc0f772613668e893fa176396e9094c (diff) | |
download | linux-897dba027445be93f40e5caf550556ca38c48c51.tar.xz |
pstore: Introduce write_buf backend callback
For function tracing we need to stop using pstore.buf directly, since
in a tracing callback we can't use spinlocks, and thus we can't safely
use the global buffer.
With write_buf callback, backends no longer need to access pstore.buf
directly, and thus we can pass any buffers (e.g. allocated on stack).
Signed-off-by: Anton Vorontsov <anton.vorontsov@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/pstore/ftrace.c')
0 files changed, 0 insertions, 0 deletions