perf probe: Check the return value of strbuf APIs
authorMasami Hiramatsu <mhiramat@kernel.org>
Tue, 10 May 2016 05:47:07 +0000 (14:47 +0900)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 10 May 2016 14:53:34 +0000 (11:53 -0300)
commitbf4d5f25c90bf2eca8671f2fc4e3d15919cd7f9c
tree56de428c1d9a1085ed7dfc3c4256cc511f743100
parent5cea57f30a12443c05e0c5273f35d2fcef00d30a
perf probe: Check the return value of strbuf APIs

Check the return value of strbuf APIs in perf-probe
related code, so that it can handle errors in strbuf.

Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/20160510054707.6158.69861.stgit@devbox
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/dwarf-aux.c
tools/perf/util/probe-event.c
tools/perf/util/probe-finder.c