summaryrefslogtreecommitdiffstats
path: root/tools/perf/util/header.h
diff options
context:
space:
mode:
authorMasami Hiramatsu <mhiramat@kernel.org>2016-05-10 07:47:53 +0200
committerArnaldo Carvalho de Melo <acme@redhat.com>2016-05-10 16:58:09 +0200
commit682f4f035e0fcffce511fe77a02a0f19f0996d70 (patch)
tree49c08883b388f288ca914031618098ced5bf7785 /tools/perf/util/header.h
parentperf pmu: Make pmu_formats_string to check return value of strbuf (diff)
downloadlinux-682f4f035e0fcffce511fe77a02a0f19f0996d70.tar.xz
linux-682f4f035e0fcffce511fe77a02a0f19f0996d70.zip
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/header.h')
0 files changed, 0 insertions, 0 deletions