summaryrefslogtreecommitdiffstats
path: root/tests/auto/shared/perfparsertestclient.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/shared/perfparsertestclient.cpp')
-rw-r--r--tests/auto/shared/perfparsertestclient.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/auto/shared/perfparsertestclient.cpp b/tests/auto/shared/perfparsertestclient.cpp
index 04d1c75..2b1cdd4 100644
--- a/tests/auto/shared/perfparsertestclient.cpp
+++ b/tests/auto/shared/perfparsertestclient.cpp
@@ -117,7 +117,7 @@ void PerfParserTestClient::extractTrace(QIODevice *device)
case SymbolDefinition: {
qint32 id;
SymbolEvent symbol;
- stream >> id >> symbol.name >> symbol.binary >> symbol.path >> symbol.isKernel;
+ stream >> id >> symbol.name >> symbol.binary >> symbol.path >> symbol.isKernel >> symbol.relAddr >> symbol.size;
if (symbol.name != -1)
checkString(symbol.name);
if (symbol.binary != -1)
@@ -228,6 +228,8 @@ void PerfParserTestClient::convertToText(QTextStream &out) const
const auto symbol = this->symbol(locationId);
if (location.file != -1)
out << '\t' << string(location.file) << ':' << location.line << ':' << location.column;
+
+ out << '\t' << Qt::hex << symbol.relAddr << ' ' << symbol.size << Qt::dec;
if (symbol.path != -1)
out << '\t' << string(symbol.name) << ' ' << string(symbol.binary) << ' ' << string(symbol.path) << ' ' << (symbol.isKernel ? "[kernel]" : "");
out << '\n';