Mercurial > hg > release > heapstats-2.0
changeset 203:40462ad5632e
Bug 3404: Fix to show a path to debuginfo
Reviewed-by: yasuenag
GitHub: https://github.com/HeapStats/heapstats/pull/101
author | KUBOTA Yuji <kubota.yuji@lab.ntt.co.jp> |
---|---|
date | Wed, 14 Jun 2017 00:59:43 +0900 |
parents | 5c34d6644d7e |
children | ce5585f2a33d |
files | ChangeLog agent/src/heapstats-engines/symbolFinder.cpp |
diffstat | 2 files changed, 7 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Thu Jun 08 23:57:00 2017 +0900 +++ b/ChangeLog Wed Jun 14 00:59:43 2017 +0900 @@ -1,3 +1,7 @@ +2017-06-14 KUBOTA Yuji <kubota.yuji@lab.ntt.co.jp> + + * Bug 3404: Fix to show a path to debuginfo + 2017-06-08 KUBOTA Yuji <kubota.yuji@lab.ntt.co.jp> * Bug 3399: Fix potential error when conflict between class loading and GC
--- a/agent/src/heapstats-engines/symbolFinder.cpp Thu Jun 08 23:57:00 2017 +0900 +++ b/agent/src/heapstats-engines/symbolFinder.cpp Wed Jun 14 00:59:43 2017 +0900 @@ -210,14 +210,14 @@ /* Load library's debuginfo with bfd record. */ struct stat st = {0}; if (unlikely(stat(&(dbgInfoPath[0]), &st) != 0)) { - logger->printWarnMsg("Cannot read debuginfo from ", dbgInfoPath); + logger->printWarnMsg("Cannot read debuginfo from %s", dbgInfoPath); } else { - logger->printDebugMsg("Try to read debuginfo from ", dbgInfoPath); + logger->printDebugMsg("Try to read debuginfo from %s", dbgInfoPath); loadLibraryInfo(dbgInfoPath, &debugBfdInfo); } } else { - logger->printDebugMsg("The same version of debuginfo not found: ", + logger->printDebugMsg("The same version of debuginfo not found: %s", libBfdInfo.bfdInfo->filename); }