]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[PATCH] relayfs: add support for global relay buffers
authorTom Zanussi <zanussi@us.ibm.com>
Sun, 8 Jan 2006 09:02:29 +0000 (01:02 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 9 Jan 2006 04:13:50 +0000 (20:13 -0800)
commite6c08367b8fc6dce6dfd1106f53f6ef28215b313
treefa5bb7071fdcd61d3296e5d0be224d864cb1d166
parent03d78d11d92b5ed688bb18167b05d9d01493e175
[PATCH] relayfs: add support for global relay buffers

This patch adds the optional is_global outparam to the create_buf_file()
callback.  This can be used by clients to create a single global relayfs
buffer instead of the default per-cpu buffers.  This was suggested as being
useful for certain debugging applications where it's more convenient to be
able to get all the data from a single channel without having to go to the
bother of dealing with per-cpu files.

Signed-off-by: Tom Zanussi <zanussi@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/relayfs/relay.c
include/linux/relayfs_fs.h