]> git.baikalelectronics.ru Git - kernel.git/commit
mmiotrace: count events lost due to not recording
authorPekka Paalanen <pq@iki.fi>
Tue, 6 Jan 2009 11:57:11 +0000 (13:57 +0200)
committerIngo Molnar <mingo@elte.hu>
Sun, 15 Feb 2009 19:02:42 +0000 (20:02 +0100)
commita4fbeee7a601c25b2376dac49909627e012781dc
tree0bb0cb203ced1fc1f5ed71832fbfb21fdbe8047f
parent036031e6cb98560dcf726c26f1bd528a9c9eef75
mmiotrace: count events lost due to not recording

Impact: enhances lost events counting in mmiotrace

The tracing framework, or the ring buffer facility it uses, has a switch
to stop recording data. When recording is off, the trace events will be
lost. The framework does not count these, so mmiotrace has to count them
itself.

Signed-off-by: Pekka Paalanen <pq@iki.fi>
Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/trace/trace_mmiotrace.c