]> git.baikalelectronics.ru Git - kernel.git/commit
perf tools: Use SBUILD_ID_SIZE where applicable
authorMasami Hiramatsu <mhiramat@kernel.org>
Wed, 11 May 2016 13:51:59 +0000 (22:51 +0900)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 11 May 2016 16:06:06 +0000 (13:06 -0300)
commitb835026aac2cc54a9c38a32d4ab8d72451946bad
tree238a8b18d26b9337e0ab6376c809a7d98deab1d7
parent87ba28a7c002226885ad0f94ecdb7ddca2b3e3fd
perf tools: Use SBUILD_ID_SIZE where applicable

Use the existing SBUILD_ID_SIZE macro instead of the equivalent
BUILD_ID_SIZE * 2 + 1 expression for allocating a buffer for build-id
strings.

Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org>
Cc: Ananth N Mavinakayanahalli <ananth@linux.vnet.ibm.com>
Cc: Brendan Gregg <brendan.d.gregg@gmail.com>
Cc: Hemant Kumar <hemant@linux.vnet.ibm.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/20160511135159.23943.57120.stgit@devbox
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/annotate.c
tools/perf/util/dso.c
tools/perf/util/header.c
tools/perf/util/map.c
tools/perf/util/scripting-engines/trace-event-python.c
tools/perf/util/symbol.c