From 6398a98ac273931cc0b3ab33222d255d1edf48b0 Mon Sep 17 00:00:00 2001 From: Jim Flynn Date: Wed, 27 May 2020 17:05:21 +0100 Subject: IVGCVSW-4900 Update Timeline Directory Message with new fields Change-Id: I68097e176f7471a18498492b50339e68004dddd5 Signed-off-by: Jim Flynn --- src/profiling/ConnectionAcknowledgedCommandHandler.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/profiling/ConnectionAcknowledgedCommandHandler.cpp') diff --git a/src/profiling/ConnectionAcknowledgedCommandHandler.cpp b/src/profiling/ConnectionAcknowledgedCommandHandler.cpp index 7690573ccf..ce2a36f9fb 100644 --- a/src/profiling/ConnectionAcknowledgedCommandHandler.cpp +++ b/src/profiling/ConnectionAcknowledgedCommandHandler.cpp @@ -1,5 +1,5 @@ // -// Copyright © 2019 Arm Ltd. All rights reserved. +// Copyright © 2019 Arm Ltd and Contributors. All rights reserved. // SPDX-License-Identifier: MIT // @@ -47,7 +47,7 @@ void ConnectionAcknowledgedCommandHandler::operator()(const Packet& packet) TimelineUtilityMethods::SendWellKnownLabelsAndEventClasses(m_SendTimelinePacket); } - if(m_BackendProfilingContext.has_value()) + if (m_BackendProfilingContext.has_value()) { for (auto backendContext : m_BackendProfilingContext.value()) { @@ -60,6 +60,9 @@ void ConnectionAcknowledgedCommandHandler::operator()(const Packet& packet) } } + // At this point signal any external processes waiting on the profiling system + // to come up that profiling is fully active + m_ProfilingServiceStatus.NotifyProfilingServiceActive(); break; case ProfilingState::Active: return; // NOP -- cgit v1.2.1