perf header: perf_header__push_event() shouldn't die
authorArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 29 Dec 2009 00:48:33 +0000 (22:48 -0200)
committerIngo Molnar <mingo@elte.hu>
Wed, 30 Dec 2009 10:59:57 +0000 (11:59 +0100)
commitae99fb2c335ef018520950ddc9692faacab39cf2
tree9476516a203657b118f878d8ca6b4d0793a12c1e
parent769885f372300a7fcfb9e54e4e2990718d40b529
perf header: perf_header__push_event() shouldn't die

Just propagate eventual errors.

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