perf tools: Eliminate some more die() uses in library functions
authorArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 19 Nov 2009 16:55:56 +0000 (14:55 -0200)
committerIngo Molnar <mingo@elte.hu>
Thu, 19 Nov 2009 17:47:17 +0000 (18:47 +0100)
commitd5eed904bb6010b429b82c47e7cdb6a32f0c1343
tree2d9da285a0c9a67acc2ed6c2fa647986b4bdd896
parent4dc0a04bb18fe9b80cefa08694f46a3a19ebfe50
perf tools: Eliminate some more die() uses in library functions

This time in perf_header__adds_write, propagating the do_write
error returns.

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-2-git-send-email-acme@infradead.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
tools/perf/builtin-record.c
tools/perf/util/header.c
tools/perf/util/header.h