1
0
mirror of https://github.com/wolfpld/tracy.git synced 2025-03-20 07:40:02 +08:00

Transfer PID of profiled program.

This commit is contained in:
Bartosz Taudul
2019-08-17 22:19:04 +02:00
parent 1024992493
commit 678e942e9f
5 changed files with 28 additions and 2 deletions
+2 -1
View File
@@ -9,7 +9,7 @@
namespace tracy
{
enum : uint32_t { ProtocolVersion = 16 };
enum : uint32_t { ProtocolVersion = 17 };
enum : uint32_t { BroadcastVersion = 0 };
using lz4sz_t = uint32_t;
@@ -66,6 +66,7 @@ struct WelcomeMessage
uint64_t delay;
uint64_t resolution;
uint64_t epoch;
uint64_t pid;
uint8_t onDemand;
uint8_t isApple;
char programName[WelcomeMessageProgramNameSize];