perf_counter tools: Handle lost events
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Thu, 18 Jun 2009 09:40:28 +0000 (11:40 +0200)
committerIngo Molnar <mingo@elte.hu>
Thu, 18 Jun 2009 12:46:11 +0000 (14:46 +0200)
commit9d91a6f7a489eb914c16b82d927f9d81d629c259
treeefdccca4b54282bcc941fce5206778d6b0f8e49d
parent43a21ea81a2400992561146327c4785ce7f7be38
perf_counter tools: Handle lost events

Make use of the new ->data_tail mechanism to tell kernel-space
about user-space draining the data stream. Emit lost events
(and display them) if they happen.

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
LKML-Reference: <new-submission>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
tools/perf/builtin-record.c
tools/perf/builtin-report.c