diff options
author | 2013-12-12 16:36:08 +0900 | |
---|---|---|
committer | 2013-12-13 10:30:22 -0300 | |
commit | 605b8fda958a578e0a50ed1df3cac5a12f1fe8dc (patch) | |
tree | a28e668c0c22484a355b5707c8a9dd308c53d496 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | tools lib traceevent: Get rid of malloc_or_die() in read_token() (diff) | |
download | linux-dev-605b8fda958a578e0a50ed1df3cac5a12f1fe8dc.tar.xz linux-dev-605b8fda958a578e0a50ed1df3cac5a12f1fe8dc.zip |
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 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions