perf tools: Don't die() in perf_header_attr__add_id()
authorArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 17 Nov 2009 03:18:10 +0000 (01:18 -0200)
committerIngo Molnar <mingo@elte.hu>
Tue, 17 Nov 2009 06:19:55 +0000 (07:19 +0100)
commit5875412152ce67fb5087157b86ab6597f91d23e8
tree5a148dcc777433f0d097ffa072b8b1a5b0a5c346
parent11deb1f9f6ca6318fa9470e024b9f0634df48b4c
perf tools: Don't die() in perf_header_attr__add_id()

Propagate the errors instead, the users are the ones to decide
what to do if a library call fails.

Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <peterz@infradead.org>
LKML-Reference: <1258427892-16312-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