diff options
author | Masami Hiramatsu <mhiramat@kernel.org> | 2016-05-10 14:46:58 +0900 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2016-05-10 11:27:58 -0300 |
commit | 5cea57f30a12443c05e0c5273f35d2fcef00d30a (patch) | |
tree | ba665d63c69cc0ea73c0d6e8d622a4872c3a2b6e /tools/perf/util/help-unknown-cmd.h | |
parent | 9c7b37cd63d0d910c531233209286f169993cbd9 (diff) | |
download | blackbird-obmc-linux-5cea57f30a12443c05e0c5273f35d2fcef00d30a.tar.gz blackbird-obmc-linux-5cea57f30a12443c05e0c5273f35d2fcef00d30a.zip |
perf tools: Rewrite strbuf not to die()
Rewrite strbuf implementation not to use die() nor xrealloc(). Instead
of die(), now most of the API returns error code or 0 if succeeded.
Suggested-by: Arnaldo Carvalho de Melo <acme@redhat.com>
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/20160510054658.6158.24080.stgit@devbox
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/help-unknown-cmd.h')
0 files changed, 0 insertions, 0 deletions