mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 10:41:50 +00:00
Mutable char array is required here due to shit API design.
This commit is contained in:
parent
42c71d7e46
commit
9d5240c597
@ -120,8 +120,10 @@ bool SysTraceStart()
|
||||
return false;
|
||||
}
|
||||
|
||||
char KernelLoggerName[sizeof( KERNEL_LOGGER_NAME )];
|
||||
memcpy( KernelLoggerName, KERNEL_LOGGER_NAME, sizeof( KERNEL_LOGGER_NAME ) );
|
||||
EVENT_TRACE_LOGFILE log = {};
|
||||
log.LoggerName = KERNEL_LOGGER_NAME;
|
||||
log.LoggerName = KernelLoggerName;
|
||||
log.ProcessTraceMode = PROCESS_TRACE_MODE_REAL_TIME | PROCESS_TRACE_MODE_EVENT_RECORD | PROCESS_TRACE_MODE_RAW_TIMESTAMP;
|
||||
log.EventRecordCallback = EventRecordCallback;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user