summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorMilian Wolff <milian.wolff@kdab.com>2018-10-18 22:39:56 +0200
committerUlf Hermann <ulf.hermann@qt.io>2019-05-03 12:45:39 +0000
commite28e70bd6347279400da63b6f26e1dc5c0990470 (patch)
treee18e717eab6bbc249b0d77b343ec523dd2bb6205 /app
parent8cf8a0d424584d8d3e7e29c3ea7864617498f16b (diff)
Output all values in hex for better comparability with tools like eu-readelf
Change-Id: I9c33cc643152675c97522ad5985c03e06ece6a7f Reviewed-by: Milian Wolff <milian.wolff@kdab.com>
Diffstat (limited to 'app')
-rw-r--r--app/perfelfmap.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/app/perfelfmap.cpp b/app/perfelfmap.cpp
index 85e5f54..54e9e1e 100644
--- a/app/perfelfmap.cpp
+++ b/app/perfelfmap.cpp
@@ -30,17 +30,17 @@ QDebug operator<<(QDebug stream, const PerfElfMap::ElfInfo& info)
<< "isFile=" << info.isFile() << ", "
<< "originalFileName=" << info.originalFileName << ", "
<< "originalPath=" << info.originalPath << ", "
- << "addr=" << hex << info.addr<< ", "
- << "len=" << info.length << ", "
- << "pgoff=" << info.pgoff << ", "
+ << "addr=" << hex << info.addr << ", "
+ << "len=" << hex << info.length << ", "
+ << "pgoff=" << hex << info.pgoff << ", "
<< "baseAddr=";
if (info.hasBaseAddr())
- stream << info.baseAddr;
+ stream << hex << info.baseAddr;
else
stream << "n/a";
- stream << "}" << dec;
+ stream << "}";
return stream.space();
}