Steven Rostedt
f0d2c681ac
ring-buffer: add counters for commit overrun and nmi dropped entries
...
The WARN_ON in the ring buffer when a commit is preempted and the
buffer is filled by preceding writes can happen in normal operations.
The WARN_ON makes it look like a bug, not to mention, because
it does not stop tracing and calls printk which can also recurse, this
is prone to deadlock (the WARN_ON is not in a position to recurse).
This patch removes the WARN_ON and replaces it with a counter that
can be retrieved by a tracer. This counter is called commit_overrun.
While at it, I added a nmi_dropped counter to count any time an NMI entry
is dropped because the NMI could not take the spinlock.
[ Impact: prevent deadlock by printing normal case warning ]
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
2009-05-05 13:51:02 -04:00
..
blktrace.c
blktrace: fix context-info when mixed-using blk tracer and trace events
2009-04-16 10:11:01 +02:00
ftrace.c
ftrace: use module notifier for function tracer
2009-04-17 16:59:15 +02:00
Kconfig
tracing: rename EVENT_TRACER config to ENABLE_EVENT_TRACING
2009-04-20 17:55:35 +02:00
kmemtrace.c
tracing/filters: use ring_buffer_discard_commit() in filter_check_discard()
2009-04-14 00:00:56 +02:00
Makefile
tracing/events: move the ftrace event tracing code to core
2009-04-14 12:57:59 -04:00
ring_buffer.c
ring-buffer: add counters for commit overrun and nmi dropped entries
2009-05-05 13:51:02 -04:00
trace.c
tracing: have splice only copy full pages
2009-04-29 00:26:30 -04:00
trace.h
tracing/filters: a better event parser
2009-04-29 14:06:11 +02:00
trace_boot.c
tracing: use macros to denote usec and nsec per second
2009-04-07 14:43:06 +02:00
trace_branch.c
tracing/filters: use ring_buffer_discard_commit() in filter_check_discard()
2009-04-14 00:00:56 +02:00
trace_clock.c
trace_event_profile.c
tracing/events: convert event call sites to use a link list
2009-04-14 12:58:00 -04:00
trace_event_types.h
tracing/filters: distinguish between signed and unsigned fields
2009-04-29 14:06:03 +02:00
trace_events.c
tracing/filters: a better event parser
2009-04-29 14:06:11 +02:00
trace_events_filter.c
tracing/filters: a better event parser
2009-04-29 14:06:11 +02:00
trace_export.c
tracing/filters: distinguish between signed and unsigned fields
2009-04-29 14:06:03 +02:00
trace_functions.c
trace_functions_graph.c
function-graph: add option to calculate graph time or not
2009-03-24 23:41:11 -04:00
trace_hw_branches.c
tracing/filters: use ring_buffer_discard_commit() in filter_check_discard()
2009-04-14 00:00:56 +02:00
trace_irqsoff.c
trace_mmiotrace.c
tracing: use macros to denote usec and nsec per second
2009-04-07 14:43:06 +02:00
trace_nop.c
trace_output.c
tracing/events: reuse trace event ids after overflow
2009-04-24 23:06:00 -04:00
trace_output.h
tracing/events: move declarations from trace directory to core include
2009-04-14 12:57:58 -04:00
trace_power.c
tracing/filters: use ring_buffer_discard_commit() in filter_check_discard()
2009-04-14 00:00:56 +02:00
trace_printk.c
tracing/ftrace: factorize the tracing files creation
2009-04-07 14:43:07 +02:00
trace_sched_switch.c
tracing/events: move trace point headers into include/trace/events
2009-04-14 22:05:43 -04:00
trace_sched_wakeup.c
tracing/wakeup: move access to wakeup_cpu into spinlock
2009-04-23 23:01:36 -04:00
trace_selftest.c
trace_selftest_dynamic.c
trace_stack.c
tracing/ftrace: factorize the tracing files creation
2009-04-07 14:43:07 +02:00
trace_stat.c
Merge branch 'linus' into tracing/core
2009-04-07 13:47:45 +02:00
trace_stat.h
trace_syscalls.c
tracing/syscalls: use a dedicated file header
2009-04-09 05:43:32 +02:00
trace_sysprof.c
tracing/ftrace: factorize the tracing files creation
2009-04-07 14:43:07 +02:00
trace_workqueue.c
Merge branch 'linus' into tracing/core
2009-04-07 13:47:45 +02:00