perf tools: perf_header__read() shouldn't die()
authorArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 19 Nov 2009 16:55:55 +0000 (14:55 -0200)
committerIngo Molnar <mingo@elte.hu>
Thu, 19 Nov 2009 17:47:17 +0000 (18:47 +0100)
commit4dc0a04bb18fe9b80cefa08694f46a3a19ebfe50
tree6d3ff5b79e71985ef4691df2d47202a4f6c3bd53
parent2446042c93bfc6eeebfc89e88fdef2435d2bb5c4
perf tools: perf_header__read() shouldn't die()

And also don't call the constructor in it, this way it adheres
to the model the other methods follow.

Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
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: <1258649757-17554-1-git-send-email-acme@infradead.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
tools/perf/builtin-record.c
tools/perf/builtin-timechart.c
tools/perf/util/data_map.c
tools/perf/util/header.c
tools/perf/util/header.h