]> git.baikalelectronics.ru Git - kernel.git/commit
perf events: Default to using event__process_lost
authorArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 26 Nov 2010 20:31:54 +0000 (18:31 -0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 26 Nov 2010 21:39:47 +0000 (19:39 -0200)
commit3371f7a917c8b35d7dd57309b0143362f2572ba7
treefae7f32212e4b068cf5f6499ee71cf54fd6054a4
parentab8507dd815ce0965b7eadb3f2168c6e12dd7ea0
perf events: Default to using event__process_lost

Tool developers have to fill in a 'perf_event_ops' method table to
specify how to handle each event, so far the ones that were not
explicitely especified would get a stub that would just discard the
event.

Change that so that tool developers can get the lost event details and
the total number of such events at the end of 'perf report -D' output.

Suggested-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Stephane Eranian <eranian@google.com>
CC: Thomas Gleixner <tglx@linutronix.de>
Cc: Tom Zanussi <tzanussi@gmail.com>
LKML-Reference: <new-submission>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/session.c