mirror of
https://github.com/wolfpld/tracy.git
synced 2025-03-20 07:40:02 +08:00
Don't send source location pointer in query reply.
Since reply order is the same as the query order, the server already knows what source location it receives. This observation allows placing zone name into the source location struct.
This commit is contained in:
@@ -47,6 +47,7 @@ struct TextData
|
||||
|
||||
struct SourceLocation
|
||||
{
|
||||
StringRef name;
|
||||
StringRef function;
|
||||
StringRef file;
|
||||
uint32_t line;
|
||||
@@ -102,7 +103,6 @@ struct GpuEvent
|
||||
int64_t gpuStart;
|
||||
int64_t gpuEnd;
|
||||
int32_t srcloc;
|
||||
uint64_t name;
|
||||
|
||||
Vector<GpuEvent*> child;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user