Update the CounterDirectory Packet offsets to be relative to the start of the table containing that offset
* IVGCVSW-4763 Update the event pointer table offsets
* IVGCVSW-4764 Update the event record block offsets
* IVGCVSW-4765 Update the device name offset
* IVGCVSW-4766 Update the counter set name offset
* IVGCVSW-4767 Update device pointer table offsets
* IVGCVSW-4768 Update the counter set pointer table offsets
* IVGCVSW-4769 Update the category pointer table offsets
Signed-off-by: Finn Williams <Finn.Williams@arm.com>
Change-Id: I6e815ae5b16478fc5ec760caf704451fe5f84a29
diff --git a/src/profiling/test/ProfilingTests.cpp b/src/profiling/test/ProfilingTests.cpp
index bd6ae08..dd7d5b8 100644
--- a/src/profiling/test/ProfilingTests.cpp
+++ b/src/profiling/test/ProfilingTests.cpp
@@ -2439,13 +2439,13 @@
BOOST_TEST(bodyHeader1Word5 == 8 + bodyHeaderSizeBytes); // categories_pointer_table_offset
const uint32_t deviceRecordOffset = ReadUint32(readBuffer1, 32);
- BOOST_TEST(deviceRecordOffset == 0);
+ BOOST_TEST(deviceRecordOffset == 12);
const uint32_t counterSetRecordOffset = ReadUint32(readBuffer1, 36);
- BOOST_TEST(counterSetRecordOffset == 20);
+ BOOST_TEST(counterSetRecordOffset == 28);
const uint32_t categoryRecordOffset = ReadUint32(readBuffer1, 40);
- BOOST_TEST(categoryRecordOffset == 44);
+ BOOST_TEST(categoryRecordOffset == 48);
auto readBuffer2 = mockBuffer2.GetReadableBuffer();