• S
    ring-buffer: have benchmark test print to trace buffer · 4b221f03
    Steven Rostedt 提交于
    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: NSteven Rostedt <rostedt@goodmis.org>
    4b221f03
ring_buffer_benchmark.c 8.5 KB