commit | 682f4f035e0fcffce511fe77a02a0f19f0996d70 | [log] [tgz] |
---|---|---|
author | Masami Hiramatsu <mhiramat@kernel.org> | Tue May 10 14:47:53 2016 +0900 |
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | Tue May 10 11:58:09 2016 -0300 |
tree | 49c08883b388f288ca914031618098ced5bf7785 | |
parent | 11db4e29bb50442ecef2173f325b7be4e7790025 [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>