aha/Documentation/perf_counter
Ingo Molnar 55717314c4 pref_counter: tools: report: Robustify in case of weird events
This error condition:

  aldebaran:~/linux/linux/Documentation/perf_counter> perf report
  dso__load_sym: cannot get elf header.
  failed to open: /etc/ld.so.cache
  problem processing PERF_EVENT_MMAP, bailing out

caused the profile to be very short - as the error was at the beginning
of the file and we bailed out completely.

Be more permissive and consider the event broken instead.

Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com>
Cc: Marcelo Tosatti <mtosatti@redhat.com>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: John Kacur <jkacur@redhat.com>
LKML-Reference: <new-submission>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2009-05-27 22:19:58 +02:00
..
Documentation perf_counter tools: Rename output.perf to perf.data 2009-05-27 09:33:18 +02:00
util perf_counter tools: Add built-in pager support 2009-05-27 09:59:00 +02:00
.gitignore perf_counter tools: add in basic glue from Git 2009-04-20 17:36:48 +02:00
builtin-help.c perf_counter tools: Introduce stricter C code checking 2009-05-27 08:10:35 +02:00
builtin-record.c perf record: Fix the profiling of existing pid or whole box 2009-05-27 12:31:03 +02:00
builtin-report.c pref_counter: tools: report: Robustify in case of weird events 2009-05-27 22:19:58 +02:00
builtin-stat.c perf_counter tools: Introduce stricter C code checking 2009-05-27 08:10:35 +02:00
builtin-top.c perf_counter tools: Introduce stricter C code checking 2009-05-27 08:10:35 +02:00
builtin.h perf_counter: First part of 'perf report' conversion to C + elfutils 2009-05-26 13:52:53 +02:00
command-list.txt perf_counter: First part of 'perf report' conversion to C + elfutils 2009-05-26 13:52:53 +02:00
design.txt perf_counter: documentation update 2009-05-01 13:23:45 +02:00
Makefile perf_counter tools: Add built-in pager support 2009-05-27 09:59:00 +02:00
perf.c perf_counter: First part of 'perf report' conversion to C + elfutils 2009-05-26 13:52:53 +02:00
perf.h perf_counter tools: increase limits, fix 2009-05-25 09:59:50 +02:00