IVGCVSW-4735 Add label GUID to timeline eventClass message
Change-Id: Ie205d8146f5bb1920bf001b7623ead79e2ab9e48
Signed-off-by: Jim Flynn <jim.flynn@arm.com>
diff --git a/src/profiling/test/ProfilingTestUtils.cpp b/src/profiling/test/ProfilingTestUtils.cpp
index ff25604..20e1a9b 100644
--- a/src/profiling/test/ProfilingTestUtils.cpp
+++ b/src/profiling/test/ProfilingTestUtils.cpp
@@ -118,6 +118,7 @@
}
void VerifyTimelineEventClassBinaryPacketData(ProfilingGuid guid,
+ ProfilingGuid nameGuid,
const unsigned char* readableData,
unsigned int& offset)
{
@@ -136,6 +137,10 @@
uint64_t readProfilingGuid = ReadUint64(readableData, offset);
BOOST_CHECK(readProfilingGuid == guid);
+ offset += uint64_t_size;
+ uint64_t readProfiilngNameGuid = ReadUint64(readableData, offset);
+ BOOST_CHECK(readProfiilngNameGuid == nameGuid);
+
// Update the offset to allow parsing to be continued after this function returns
offset += uint64_t_size;
}