IVGCVSW-4028 Add TimelinePacketWriterFactory to ProfilingService
Change-Id: I1baf6ff49fc591577efab8190352f2ae5a7dc5e5
Signed-off-by: Jim Flynn <jim.flynn@arm.com>
diff --git a/src/profiling/ProfilingService.cpp b/src/profiling/ProfilingService.cpp
index 6122ed9..c4063a5 100644
--- a/src/profiling/ProfilingService.cpp
+++ b/src/profiling/ProfilingService.cpp
@@ -251,6 +251,11 @@
return m_GuidGenerator.GenerateStaticId(str);
}
+std::unique_ptr<ISendTimelinePacket> ProfilingService::GetSendTimelinePacket() const
+{
+ return m_TimelinePacketWriterFactory.GetSendTimelinePacket();
+}
+
void ProfilingService::Initialize()
{
// Register a category for the basic runtime counters