From e63a026bd987e78bdaa5b94c3e53201b62011faa Mon Sep 17 00:00:00 2001 From: Finn Williams Date: Tue, 22 Oct 2019 10:30:49 +0100 Subject: IVGCVSW-3951 Create the timeline decoder * Added ITimelineDecoder.h C interface * Added an example implementation of ITimelineDecoder.h * Added command handlers for the timeline directory and objects * Added tests for the decoder implementation * Changed ReadSwTraceMessage to take a const unsigned char* so it can be used by the directory command handler * Fixed some bugs in ProfilingUtils.cpp and related tests Change-Id: If06faf1fe0274a8f022f194a6d3527f5ce5374c6 Signed-off-by: Finn Williams --- src/profiling/ProfilingUtils.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/profiling/ProfilingUtils.hpp') diff --git a/src/profiling/ProfilingUtils.hpp b/src/profiling/ProfilingUtils.hpp index 74fc437333..f7b46be972 100644 --- a/src/profiling/ProfilingUtils.hpp +++ b/src/profiling/ProfilingUtils.hpp @@ -156,7 +156,7 @@ enum class ProfilingRelationshipType uint32_t CalculateSizeOfPaddedSwString(const std::string& str); -SwTraceMessage ReadSwTraceMessage(const IPacketBufferPtr& packetBuffer, unsigned int& offset); +SwTraceMessage ReadSwTraceMessage(const unsigned char*, unsigned int& offset); TimelinePacketStatus WriteTimelineLabelBinaryPacket(uint64_t profilingGuid, const std::string& label, -- cgit v1.2.1