Re: [PATCH 06/14] tools lib traceevent: Get rid of malloc_or_die() in find_event()

2013-12-09 Thread Namhyung Kim
On Mon, 9 Dec 2013 12:03:50 +0100, Jiri Olsa wrote: > On Mon, Dec 09, 2013 at 02:34:03PM +0900, Namhyung Kim wrote: >> Make it return -2 to distinguish malloc allocation failure. >> >> Signed-off-by: Namhyung Kim >> --- >> tools/lib/traceevent/parse-filter.c | 17 ++--- >> 1 file cha

Re: [PATCH 06/14] tools lib traceevent: Get rid of malloc_or_die() in find_event()

2013-12-09 Thread Steven Rostedt
On Mon, 9 Dec 2013 12:03:50 +0100 Jiri Olsa wrote: > On Mon, Dec 09, 2013 at 02:34:03PM +0900, Namhyung Kim wrote: > > Make it return -2 to distinguish malloc allocation failure. > > > > Signed-off-by: Namhyung Kim > > --- > > tools/lib/traceevent/parse-filter.c | 17 ++--- > > 1 f

Re: [PATCH 06/14] tools lib traceevent: Get rid of malloc_or_die() in find_event()

2013-12-09 Thread Jiri Olsa
On Mon, Dec 09, 2013 at 02:34:03PM +0900, Namhyung Kim wrote: > Make it return -2 to distinguish malloc allocation failure. > > Signed-off-by: Namhyung Kim > --- > tools/lib/traceevent/parse-filter.c | 17 ++--- > 1 file changed, 14 insertions(+), 3 deletions(-) > > diff --git a/too

[PATCH 06/14] tools lib traceevent: Get rid of malloc_or_die() in find_event()

2013-12-08 Thread Namhyung Kim
Make it return -2 to distinguish malloc allocation failure. Signed-off-by: Namhyung Kim --- tools/lib/traceevent/parse-filter.c | 17 ++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/tools/lib/traceevent/parse-filter.c b/tools/lib/traceevent/parse-filter.c index