Messages in this thread | | | Subject | Re: [PATCH 3/3] tools lib traceevent: Introduce pevent_strerror | From | Steven Rostedt <> | Date | Fri, 15 Jun 2012 18:23:16 -0400 |
| |
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
| |