From: Naveen N. Rao Date: Fri, 24 Apr 2015 19:44:46 +0000 (+0530) Subject: perf symbols: Warn on build id mismatch X-Git-Tag: submit/tizen/20160607.132125~2319^2~50^2~36 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=468f3d292fe60f0d744253b746e4b5d06bac0826;p=sdk%2Femulator%2Femulator-kernel.git perf symbols: Warn on build id mismatch Add a debug message to indicate that the build id didn't match. Signed-off-by: Naveen N. Rao Link: http://lkml.kernel.org/r/1429904686-16516-1-git-send-email-naveen.n.rao@linux.vnet.ibm.com Signed-off-by: Arnaldo Carvalho de Melo --- diff --git a/tools/perf/util/symbol-elf.c b/tools/perf/util/symbol-elf.c index d99b4424d4e1..9d526a5312b1 100644 --- a/tools/perf/util/symbol-elf.c +++ b/tools/perf/util/symbol-elf.c @@ -683,6 +683,7 @@ int symsrc__init(struct symsrc *ss, struct dso *dso, const char *name, } if (!dso__build_id_equal(dso, build_id)) { + pr_debug("%s: build id mismatch for %s.\n", __func__, name); dso->load_errno = DSO_LOAD_ERRNO__MISMATCHING_BUILDID; goto out_elf_end; }