All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] perf: warn on build id mismatch
@ 2015-04-24 19:44 Naveen N. Rao
  2015-04-28 14:33 ` Arnaldo Carvalho de Melo
  2015-05-06  3:12 ` [tip:perf/core] perf symbols: Warn " tip-bot for Naveen N. Rao
  0 siblings, 2 replies; 3+ messages in thread
From: Naveen N. Rao @ 2015-04-24 19:44 UTC (permalink / raw)
  To: acme; +Cc: linux-kernel

Add a debug message to indicate that the build id didn't match.

Signed-off-by: Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>
---
 tools/perf/util/symbol-elf.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tools/perf/util/symbol-elf.c b/tools/perf/util/symbol-elf.c
index b7c533c..6e6ca23 100644
--- a/tools/perf/util/symbol-elf.c
+++ b/tools/perf/util/symbol-elf.c
@@ -684,6 +684,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;
 		}
-- 
2.3.5


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-05-06  3:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-24 19:44 [PATCH] perf: warn on build id mismatch Naveen N. Rao
2015-04-28 14:33 ` Arnaldo Carvalho de Melo
2015-05-06  3:12 ` [tip:perf/core] perf symbols: Warn " tip-bot for Naveen N. Rao

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.