Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 146090
b: refs/heads/master
c: 5092dbc
h: refs/heads/master
v: v3
  • Loading branch information
Steven Rostedt authored and Steven Rostedt committed May 6, 2009
1 parent 263c8c1 commit 85a3957
Show file tree
Hide file tree
Showing 4 changed files with 397 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: aa20ae8444fc6c318272c643f856d8d8ad3e198d
refs/heads/master: 5092dbc96f3acdac5433b27c06860352dc6d23b9
16 changes: 16 additions & 0 deletions trunk/kernel/trace/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -471,6 +471,22 @@ config MMIOTRACE_TEST

Say N, unless you absolutely know what you are doing.

config RING_BUFFER_BENCHMARK
tristate "Ring buffer benchmark stress tester"
depends on RING_BUFFER
help
This option creates a test to stress the ring buffer and bench mark it.
It creates its own ring buffer such that it will not interfer with
any other users of the ring buffer (such as ftrace). It then creates
a producer and consumer that will run for 10 seconds and sleep for
10 seconds. Each interval it will print out the number of events
it recorded and give a rough estimate of how long each iteration took.

It does not disable interrupts or raise its priority, so it may be
affected by processes that are running.

If unsure, say N

endif # FTRACE

endif # TRACING_SUPPORT
Expand Down
1 change: 1 addition & 0 deletions trunk/kernel/trace/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ endif

obj-$(CONFIG_FUNCTION_TRACER) += libftrace.o
obj-$(CONFIG_RING_BUFFER) += ring_buffer.o
obj-$(CONFIG_RING_BUFFER_BENCHMARK) += ring_buffer_benchmark.o

obj-$(CONFIG_TRACING) += trace.o
obj-$(CONFIG_TRACING) += trace_clock.o
Expand Down
Loading

0 comments on commit 85a3957

Please sign in to comment.