]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit65107286eed2e5ced46c7b2f56d2d9776a312f6c
tree7e122f9fbf81c8f5cdb5491d5aafff1fa18fc699
parentd5fdc60b4fb33e24d91766b0fee8029b77c8cfa9
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