Add space for piggy-backing symbol data transfer.

This commit is contained in:
Bartosz Taudul 2021-10-22 22:17:09 +02:00
parent af5da6f53c
commit e2610b1483
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3

View File

@ -486,6 +486,12 @@ struct QueueCallstackFrameSize
uint8_t size; uint8_t size;
}; };
struct QueueCallstackFrameSizeFat : public QueueCallstackFrameSize
{
uint64_t data;
uint64_t imageName;
};
struct QueueCallstackFrame struct QueueCallstackFrame
{ {
uint32_t line; uint32_t line;
@ -499,6 +505,12 @@ struct QueueSymbolInformation
uint64_t symAddr; uint64_t symAddr;
}; };
struct QueueSymbolInformationFat : public QueueSymbolInformation
{
uint64_t fileString;
uint8_t needFree;
};
struct QueueCodeInformation struct QueueCodeInformation
{ {
uint64_t symAddr; uint64_t symAddr;
@ -506,6 +518,12 @@ struct QueueCodeInformation
uint64_t ptrOffset; uint64_t ptrOffset;
}; };
struct QueueCodeInformationFat : public QueueCodeInformation
{
uint64_t fileString;
uint8_t needFree;
};
struct QueueCrashReport struct QueueCrashReport
{ {
int64_t time; int64_t time;
@ -579,6 +597,13 @@ struct QueueCpuTopology
uint32_t thread; uint32_t thread;
}; };
struct QueueExternalNameMetadata
{
uint64_t thread;
uint64_t name;
uint64_t threadName;
};
struct QueueHeader struct QueueHeader
{ {
union union
@ -649,9 +674,12 @@ struct QueueItem
QueueCallstackSample callstackSample; QueueCallstackSample callstackSample;
QueueCallstackSampleFat callstackSampleFat; QueueCallstackSampleFat callstackSampleFat;
QueueCallstackFrameSize callstackFrameSize; QueueCallstackFrameSize callstackFrameSize;
QueueCallstackFrameSizeFat callstackFrameSizeFat;
QueueCallstackFrame callstackFrame; QueueCallstackFrame callstackFrame;
QueueSymbolInformation symbolInformation; QueueSymbolInformation symbolInformation;
QueueSymbolInformationFat symbolInformationFat;
QueueCodeInformation codeInformation; QueueCodeInformation codeInformation;
QueueCodeInformationFat codeInformationFat;
QueueCrashReport crashReport; QueueCrashReport crashReport;
QueueCrashReportThread crashReportThread; QueueCrashReportThread crashReportThread;
QueueSysTime sysTime; QueueSysTime sysTime;
@ -662,6 +690,7 @@ struct QueueItem
QueuePlotConfig plotConfig; QueuePlotConfig plotConfig;
QueueParamSetup paramSetup; QueueParamSetup paramSetup;
QueueCpuTopology cpuTopology; QueueCpuTopology cpuTopology;
QueueExternalNameMetadata externalNameMetadata;
}; };
}; };
#pragma pack() #pragma pack()