]> git.baikalelectronics.ru Git - kernel.git/commit
tracing: add binary buffer files for use with splice
authorSteven Rostedt <srostedt@redhat.com>
Tue, 2 Dec 2008 03:20:19 +0000 (22:20 -0500)
committerSteven Rostedt <srostedt@redhat.com>
Wed, 4 Mar 2009 02:01:55 +0000 (21:01 -0500)
commitf9944b7cee423c314ebba858b116ca4d56ccbb82
tree919e201f615b8de6d0263ded5693bad326196671
parent90a5ff663f2daf913ee24944250328c5878c127c
tracing: add binary buffer files for use with splice

Impact: new feature

This patch creates a directory of files that correspond to the
per CPU ring buffers. These are binary files and are made to
be used with splice. This is the fastest way to extract data from
the ftrace ring buffers.

Thanks to Jiaying Zhang for pushing me to get this code fixed,
 and to Eduard - Gabriel Munteanu for his splice code that helped
 me debug my code.

Signed-off-by: Steven Rostedt <srostedt@redhat.com>
kernel/trace/trace.c
kernel/trace/trace.h