From: Namhyung Kim Date: Thu, 12 Dec 2013 07:36:08 +0000 (+0900) Subject: tools lib traceevent: Get rid of malloc_or_die() in find_event() X-Git-Tag: v3.14-rc1~171^2~12^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=605b8fda958a578e0a50ed1df3cac5a12f1fe8dc;p=pandora-kernel.git tools lib traceevent: Get rid of malloc_or_die() in find_event() Make it return pevent_errno to distinguish malloc allocation failure. Since it'll be returned to user later, add more error code. Signed-off-by: Namhyung Kim Reviewed-by: Steven Rostedt Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Jiri Olsa Cc: Namhyung Kim Cc: Peter Zijlstra Cc: Steven Rostedt Link: http://lkml.kernel.org/r/1386833777-3790-6-git-send-email-namhyung@kernel.org Signed-off-by: Arnaldo Carvalho de Melo --- Reading git-diff-tree failed