perf symbols: Introduce DSO__NAME_KALLSYMS and DSO__NAME_KCORE
authorMasami Hiramatsu <mhiramat@kernel.org>
Sun, 15 May 2016 03:19:40 +0000 (12:19 +0900)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 17 May 2016 02:11:48 +0000 (23:11 -0300)
commit0a77582f0407e7f9b5d775bebc31297a1b890be0
tree1c9cc230efeab3ec137ec21eedc609a664d17030
parenta1f3d56761df31f0ffeb215b974e26d5613e92a4
perf symbols: Introduce DSO__NAME_KALLSYMS and DSO__NAME_KCORE

Instead of using a raw string, use DSO__NAME_KALLSYMS and
DSO__NAME_KCORE macros for kallsyms and kcore.

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/20160515031935.4017.50971.stgit@devbox
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-buildid-cache.c
tools/perf/util/annotate.c
tools/perf/util/machine.c
tools/perf/util/symbol.c
tools/perf/util/symbol.h