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)
commit391b170f10e669dd429aa47bce998c2fa839404c
tree0bb0cb203ced1fc1f5ed71832fbfb21fdbe8047f
parentd2f8d7ee1a9b4650b4e43325b321801264f7c37a
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