]> git.baikalelectronics.ru Git - kernel.git/commit
ring-buffer: have benchmark test print to trace buffer
authorSteven Rostedt <srostedt@redhat.com>
Wed, 17 Jun 2009 21:01:09 +0000 (17:01 -0400)
committerSteven Rostedt <rostedt@goodmis.org>
Wed, 17 Jun 2009 21:01:09 +0000 (17:01 -0400)
commit81c48c2d88cc20c01f5e74ce7b87638f9ddbacc8
treea294e6719eefb3c68562627f59a7c0a67ae9b760
parent930f9793c70cc67509eb835e6c4e0652a55b46df
ring-buffer: have benchmark test print to trace buffer

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: Steven Rostedt <rostedt@goodmis.org>
kernel/trace/ring_buffer_benchmark.c