aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/wrapper.c
diff options
context:
space:
mode:
authorMasami Hiramatsu <mhiramat@kernel.org>2016-05-10 14:47:53 +0900
committerArnaldo Carvalho de Melo <acme@redhat.com>2016-05-10 11:58:09 -0300
commit682f4f035e0fcffce511fe77a02a0f19f0996d70 (patch)
tree49c08883b388f288ca914031618098ced5bf7785 /tools/perf/util/wrapper.c
parent11db4e29bb50442ecef2173f325b7be4e7790025 (diff)
perf help: Do not use ALLOC_GROW in add_cmd_list
Replace ALLOC_GROW with normal realloc code in add_cmd_list() so that it can handle errors directly. 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/20160510054752.6158.30562.stgit@devbox Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/wrapper.c')
0 files changed, 0 insertions, 0 deletions