perf sched: Account for lost events, increase default buffering
commitdc02bf7178c8e2cb3d442ae19027b736d51c7dd5
authorIngo Molnar <mingo@elte.hu>
Wed, 16 Sep 2009 11:45:00 +0000 (16 13:45 +0200)
committerIngo Molnar <mingo@elte.hu>
Wed, 16 Sep 2009 09:48:05 +0000 (16 11:48 +0200)
tree08e66e825e88e63e6b913245f02bc5c4c6358f83
parent39aeb52f99f2380c1f16036deed2f7bb8b2e0559
perf sched: Account for lost events, increase default buffering

Output such lost event and state machine weirdness stats:

   TOTAL:                |  14974.910 ms |    46384 |
  ---------------------------------------------------
   INFO: 8.865% lost events (19132 out of 215819, in 8 chunks)
   INFO: 0.198% state machine bugs (49 out of 24708) (due to lost events?)

And increase buffering to -m 1024 (4 MB) by default. Since we
use output multiplexing that kind of space is needed.

Cc: 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>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
LKML-Reference: <new-submission>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
tools/perf/builtin-sched.c
tools/perf/util/event.h