diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2010-05-19 03:57:27 +0200 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2010-05-19 04:05:18 +0200 |
commit | 8a7ddad8e756a72906851fdd5a6e149cbb056e0d (patch) | |
tree | 3393ed7329a4efb9d853a32991068e0e219e3d56 /tools/perf/util/util.h | |
parent | perf probe: Fix some error exit paths (diff) | |
download | linux-8a7ddad8e756a72906851fdd5a6e149cbb056e0d.tar.xz linux-8a7ddad8e756a72906851fdd5a6e149cbb056e0d.zip |
perf probe: Don't call die()
Functions that were calling xzalloc also returned -1 when, for other
reasons, it could fail, and the calleds are coping with failures, so
stop using die() and xzalloc().
Cc: Frédéric Weisbecker <fweisbec@gmail.com>
Cc: Masami Hiramatsu <mhiramat@redhat.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Tom Zanussi <tzanussi@gmail.com>
LKML-Reference: <new-submission>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/util.h')
0 files changed, 0 insertions, 0 deletions