Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/wolfpld/tracy.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorBartosz Taudul <wolf@nereid.pl>2022-04-18 14:39:49 +0300
committerBartosz Taudul <wolf@nereid.pl>2022-04-18 14:39:49 +0300
commit95187c94e94c46214cb56e480f92fbaa40fbdcc0 (patch)
tree3e2079175cfa8284b4ab24340a311c67c9872c22 /common
parentcd3f9c8831342af6670e200ccd2f365842602abf (diff)
Bump protocol to simplify IsQueryPrio().
Diffstat (limited to 'common')
-rw-r--r--common/TracyProtocol.hpp11
1 files changed, 6 insertions, 5 deletions
diff --git a/common/TracyProtocol.hpp b/common/TracyProtocol.hpp
index a647b031..dc2df5f0 100644
--- a/common/TracyProtocol.hpp
+++ b/common/TracyProtocol.hpp
@@ -9,7 +9,7 @@ namespace tracy
constexpr unsigned Lz4CompressBound( unsigned isize ) { return isize + ( isize / 255 ) + 16; }
-enum : uint32_t { ProtocolVersion = 55 };
+enum : uint32_t { ProtocolVersion = 56 };
enum : uint16_t { BroadcastVersion = 2 };
using lz4sz_t = uint32_t;
@@ -44,18 +44,19 @@ enum ServerQuery : uint8_t
ServerQueryThreadString,
ServerQuerySourceLocation,
ServerQueryPlotName,
- ServerQueryCallstackFrame,
ServerQueryFrameName,
+ ServerQueryParameter,
+ ServerQueryFiberName,
+ // Items above are high priority. Split order must be preserved. See IsQueryPrio().
ServerQueryDisconnect,
+ ServerQueryCallstackFrame,
ServerQueryExternalName,
- ServerQueryParameter,
ServerQuerySymbol,
ServerQuerySymbolCode,
ServerQueryCodeLocation,
ServerQuerySourceCode,
ServerQueryDataTransfer,
- ServerQueryDataTransferPart,
- ServerQueryFiberName
+ ServerQueryDataTransferPart
};
struct ServerQueryPacket