Re: [PATCH 3/3] tools lib traceevent: Introduce pevent_strerror

From: Steven Rostedt
Date: Fri Jun 15 2012 - 18:23:12 EST


On Sat, 2012-06-16 at 07:18 +0900, Namhyung Kim wrote:

> So, for now, passing the return value only would be enough. But I think
> passing pevent into a function name started by pevent_ looks natural. :)

Yeah, I agree, and who knows, maybe in the future it will be useful.

Perhaps, we should add a note that says pevent can be NULL. Just in case
you just want to convert a return value and you do not have an available
pevent at hand.

-- 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/