aboutsummaryrefslogtreecommitdiff
path: root/src/timelineDecoder
diff options
context:
space:
mode:
Diffstat (limited to 'src/timelineDecoder')
-rw-r--r--src/timelineDecoder/TimelineCaptureCommandHandler.cpp4
-rw-r--r--src/timelineDecoder/tests/TimelineTests.cpp6
2 files changed, 8 insertions, 2 deletions
diff --git a/src/timelineDecoder/TimelineCaptureCommandHandler.cpp b/src/timelineDecoder/TimelineCaptureCommandHandler.cpp
index 58edd9fc43..69389115a0 100644
--- a/src/timelineDecoder/TimelineCaptureCommandHandler.cpp
+++ b/src/timelineDecoder/TimelineCaptureCommandHandler.cpp
@@ -107,6 +107,10 @@ void TimelineCaptureCommandHandler::ReadRelationship(const unsigned char* data,
relationship.m_TailGuid = profiling::ReadUint64(data, offset);
offset += uint64_t_size;
+
+ relationship.m_AttributeGuid = profiling::ReadUint64(data, offset);
+ offset += uint64_t_size;
+
m_TimelineDecoder.CreateRelationship(relationship);
}
diff --git a/src/timelineDecoder/tests/TimelineTests.cpp b/src/timelineDecoder/tests/TimelineTests.cpp
index bff25367fd..390b589b7f 100644
--- a/src/timelineDecoder/tests/TimelineTests.cpp
+++ b/src/timelineDecoder/tests/TimelineTests.cpp
@@ -227,7 +227,8 @@ BOOST_AUTO_TEST_CASE(TimelineCaptureTest)
sendTimelinePacket->SendTimelineRelationshipBinaryPacket(relationshipType,
relationshipGuid,
headGuid,
- tailGuid);
+ tailGuid,
+ 0);
sendTimelinePacket->Commit();
SendTimelinePacketToCommandHandler(bufferManager.GetReadableBuffer()->GetReadableData(),
timelineCaptureCommandHandler);
@@ -327,7 +328,8 @@ BOOST_AUTO_TEST_CASE(TimelineCaptureTestMultipleStringsInBuffer)
sendTimelinePacket->SendTimelineRelationshipBinaryPacket(relationshipType,
relationshipGuid,
headGuid,
- tailGuid);
+ tailGuid,
+ 0);
}
sendTimelinePacket->Commit();