Re: [PATCH] tools lib traceevent: Handle alloc_arg failure

From: Steven Rostedt
Date: Wed Sep 19 2012 - 08:40:57 EST


On Wed, 2012-09-19 at 21:26 +0900, Namhyung Kim wrote:
> Hi Ingo,
>

> Yeah, I agree. But I wanted to add a bit more helpful (to developers)
> info - function name and line number - rather than just "not enough
> memory" message. Maybe we could change do_warning to emit such info
> automatically.

But these only fail if you run out of memory for the tool. In that case,
I don't think it's that important which allocation failed.

-- Steve


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/