diff options
author | Namhyung Kim <namhyung@kernel.org> | 2013-12-12 16:36:08 +0900 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2013-12-13 10:30:22 -0300 |
commit | 605b8fda958a578e0a50ed1df3cac5a12f1fe8dc (patch) | |
tree | a28e668c0c22484a355b5707c8a9dd308c53d496 /firmware/sun | |
parent | 91dfa49bdd8ef9600d850ef68ec892eb70824e3d (diff) | |
download | op-kernel-dev-605b8fda958a578e0a50ed1df3cac5a12f1fe8dc.zip op-kernel-dev-605b8fda958a578e0a50ed1df3cac5a12f1fe8dc.tar.gz |
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 <namhyung@kernel.org>
Reviewed-by: Steven Rostedt <rostedt@goodmis.org>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Namhyung Kim <namhyung.kim@lge.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Steven Rostedt <rostedt@goodmis.org>
Link: http://lkml.kernel.org/r/1386833777-3790-6-git-send-email-namhyung@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'firmware/sun')
0 files changed, 0 insertions, 0 deletions