• Steven Rostedt's avatar
    tracing: add binary buffer files for use with splice · 2cadf913
    Steven Rostedt authored
    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: default avatarSteven Rostedt <srostedt@redhat.com>
    2cadf913
trace.c 89.7 KB