• Steven Rostedt's avatar
    ring-buffer: have benchmark test print to trace buffer · 4b221f03
    Steven Rostedt authored
    Currently the output of the ring buffer benchmark/test prints to
    the console. This test runs for ten seconds every ten seconds and
    ouputs the result after every iteration. This needlessly fills up
    the logs.
    
    This patch makes the ring buffer benchmark/test print to the ftrace
    buffer using trace_printk. To view the test results, you must examine
    the debug/tracing/trace file.
    Signed-off-by: default avatarSteven Rostedt <rostedt@goodmis.org>
    4b221f03
ring_buffer_benchmark.c 8.53 KB