perf probe: Don't call die()
authorArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 19 May 2010 01:57:27 +0000 (22:57 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 19 May 2010 02:05:18 +0000 (23:05 -0300)
commit8a7ddad8e756a72906851fdd5a6e149cbb056e0d
tree3393ed7329a4efb9d853a32991068e0e219e3d56
parentb448c4b613542c16ad66042017946e68da4e422b
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>
tools/perf/builtin-probe.c