summaryrefslogtreecommitdiffstats
path: root/tools/perf/util/help-unknown-cmd.h
diff options
context:
space:
mode:
authorMasami Hiramatsu <mhiramat@kernel.org>2016-05-10 14:46:58 +0900
committerArnaldo Carvalho de Melo <acme@redhat.com>2016-05-10 11:27:58 -0300
commit5cea57f30a12443c05e0c5273f35d2fcef00d30a (patch)
treeba665d63c69cc0ea73c0d6e8d622a4872c3a2b6e /tools/perf/util/help-unknown-cmd.h
parent9c7b37cd63d0d910c531233209286f169993cbd9 (diff)
downloadblackbird-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
OpenPOWER on IntegriCloud