perf callchain: Check return value of append_chain_children()
authorNamhyung Kim <namhyung@kernel.org>
Tue, 16 Feb 2016 14:08:24 +0000 (23:08 +0900)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 19 Feb 2016 22:15:01 +0000 (19:15 -0300)
commitdca0d122e498c054b117bd4aa5568ce90ee142d5
tree5b1d5eb52e2aacabc1d0181bbac2dbccc566098a
parentf2bb4c5af4fe16d8b1e4ae371e1ceaa817380a88
perf callchain: Check return value of append_chain_children()

Now it can check the error case, so check and pass it to the caller.

Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Acked-by: Jiri Olsa <jolsa@kernel.org>
Cc: Andi Kleen <andi@firstfloor.org>
Cc: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Cc: Wang Nan <wangnan0@huawei.com>
Link: http://lkml.kernel.org/r/1455631723-17345-7-git-send-email-namhyung@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/callchain.c