Re: [PATCH -tip v2 7/8] perf probe: Remove die() from probe-finder code

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Masami Hiramatsu
Date: Friday, April 9, 2010 - 9:20 pm

Arnaldo Carvalho de Melo wrote:

With the next (8/8) patch, all die()s are removed at least from 
probe-{event,finder}.c, except for all x*() wrappers.


Sure, this die() is removed by next (8/8) patch. Sorry, I've split it because
of easy to review...


Hmm, I think that will cost high, because only failing to allocate memory,
which theoretically means we can't continue to operate it. In that case,
we'd better just use backtrace() and die().

Thank you,

-- 
Masami Hiramatsu
e-mail: mhiramat@redhat.com
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH -tip v2 1/8] perf probe: Support argument name, Masami Hiramatsu, (Tue Apr 6, 3:05 pm)
[PATCH -tip v2 5/8] perf probe: Support basic type casting, Masami Hiramatsu, (Tue Apr 6, 3:06 pm)
Re: [PATCH -tip v2 7/8] perf probe: Remove die() from prob ..., Arnaldo Carvalho de Melo, (Fri Apr 9, 6:28 pm)
Re: [PATCH -tip v2 7/8] perf probe: Remove die() from prob ..., Masami Hiramatsu, (Fri Apr 9, 9:20 pm)
Re: [PATCH -tip v2 7/8] perf probe: Remove die() from prob ..., Arnaldo Carvalho de Melo, (Sat Apr 10, 7:27 am)
Re: [PATCH -tip v2 7/8] perf probe: Remove die() from prob ..., Arnaldo Carvalho de Melo, (Sat Apr 10, 11:10 am)