linux/tools/perf
Arnaldo Carvalho de Melo e25613683b perf trace: Read_tracing_data should die() another day
It better propagate errors, also if we do a simple:

[root@doppio linux-2.6-tip]# perf record -R -a -f sleep 3s ;
perf trace [ perf record: Woken up 1 times to write data ]
[ perf record: Captured and wrote 0.182 MB perf.data (~7972 samples) ]
Fatal: not an trace data file
[root@doppio linux-2.6-tip]#

That is what is expected, right? I.e. as we didn't specify any
tracepoint event via -e, it should gracefully bail out and not
SEGFAULT.

Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Frédéric Weisbecker <fweisbec@gmail.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Paul Mackerras <paulus@samba.org>
LKML-Reference: <1258821086-11521-3-git-send-email-acme@infradead.org>
[ Fixed the error messages some more ]
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2009-11-21 17:45:59 +01:00
..
bench
Documentation Merge branch 'perf/core' into perf/probes 2009-11-17 10:17:47 +01:00
util perf trace: Read_tracing_data should die() another day 2009-11-21 17:45:59 +01:00
.gitignore
builtin-annotate.c perf symbols: Do lazy symtab loading for the kernel & modules too 2009-11-21 14:11:33 +01:00
builtin-bench.c
builtin-buildid-list.c
builtin-help.c
builtin-kmem.c perf: Add 'perf kmem' tool 2009-11-20 09:51:41 +01:00
builtin-list.c
builtin-probe.c
builtin-record.c perf tools: Eliminate some more die() uses in library functions 2009-11-19 18:47:17 +01:00
builtin-report.c perf symbols: Do lazy symtab loading for the kernel & modules too 2009-11-21 14:11:33 +01:00
builtin-sched.c
builtin-stat.c
builtin-timechart.c perf tools: perf_header__read() shouldn't die() 2009-11-19 18:47:17 +01:00
builtin-top.c perf symbols: Do lazy symtab loading for the kernel & modules too 2009-11-21 14:11:33 +01:00
builtin-trace.c
builtin.h perf: Add 'perf kmem' tool 2009-11-20 09:51:41 +01:00
command-list.txt Merge branch 'perf/core' into perf/probes 2009-11-17 10:17:47 +01:00
CREDITS
design.txt
Makefile perf: Add 'perf kmem' tool 2009-11-20 09:51:41 +01:00
perf.c perf: Add 'perf kmem' tool 2009-11-20 09:51:41 +01:00
perf.h perf tools: Add ia64 support for tools/perf/ 2009-11-19 06:03:33 +01:00