From 203d9b4b8511ad1af6d9c1962cc2ba7fbc006c3b Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Sun, 19 Aug 2018 18:21:56 +0200 Subject: [PATCH] Store host info. --- server/TracyWorker.cpp | 2 ++ server/TracyWorker.hpp | 1 + 2 files changed, 3 insertions(+) diff --git a/server/TracyWorker.cpp b/server/TracyWorker.cpp index d52aaca4..6cce0b33 100644 --- a/server/TracyWorker.cpp +++ b/server/TracyWorker.cpp @@ -1237,6 +1237,8 @@ void Worker::Exec() sprintf( tmp, "%s @ %s", welcome.programName, dtmp ); m_captureName = tmp; + m_hostInfo = welcome.hostInfo; + if( welcome.onDemand != 0 ) { OnDemandPayloadMessage onDemand; diff --git a/server/TracyWorker.hpp b/server/TracyWorker.hpp index 831acf06..4b1dfa65 100644 --- a/server/TracyWorker.hpp +++ b/server/TracyWorker.hpp @@ -372,6 +372,7 @@ private: int64_t m_resolution; double m_timerMul; std::string m_captureName; + std::string m_hostInfo; bool m_terminate; LZ4_streamDecode_t* m_stream; char* m_buffer;