perf buildid: Use SBUILD_ID_SIZE macro
authorMasami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Wed, 15 Jul 2015 09:14:28 +0000 (18:14 +0900)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 20 Jul 2015 20:49:50 +0000 (17:49 -0300)
commitd77fac7f9e687d137b17296d86d9143c2cccab6a
tree7e122f9fbf81c8f5cdb5491d5aafff1fa18fc699
parent92f6c72e7ac40cbf8d12682d1aeeb82c905f2a64
perf buildid: Use SBUILD_ID_SIZE macro

Introduce SBUILD_ID_SIZE macro and use it instead of using BUILD_ID_SIZE
* 2 + 1.

Signed-off-by: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Borislav Petkov <bp@suse.de>
Cc: Hemant Kumar <hemant@linux.vnet.ibm.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/20150715091428.8915.75265.stgit@localhost.localdomain
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-buildid-cache.c
tools/perf/builtin-buildid-list.c
tools/perf/util/build-id.c
tools/perf/util/build-id.h