From e28e70bd6347279400da63b6f26e1dc5c0990470 Mon Sep 17 00:00:00 2001 From: Milian Wolff Date: Thu, 18 Oct 2018 22:39:56 +0200 Subject: Output all values in hex for better comparability with tools like eu-readelf Change-Id: I9c33cc643152675c97522ad5985c03e06ece6a7f Reviewed-by: Milian Wolff --- app/perfelfmap.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'app') 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(); } -- cgit v1.2.3