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, 11 Jan 2009 03:01:30 +0000 (04:01 +0100)
commit173ed24ee2d64f5de28654eb456ec1ee18a142e5
tree0e47a59eca31c6d09f1bfe5496c3f7b03e15f16a
parentfe6f90e57fd31af8daca534ea01db2e5666c15da
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