mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 10:41:50 +00:00
Request stack traces for execution sampling events.
This commit is contained in:
parent
28d0f387ea
commit
9b9474ada1
@ -184,6 +184,16 @@ bool SysTraceStart()
|
||||
return false;
|
||||
}
|
||||
|
||||
CLASSIC_EVENT_ID stackId;
|
||||
stackId.EventGuid = PerfInfoGuid;
|
||||
stackId.Type = 46;
|
||||
const auto stackStatus = TraceSetInformation( s_traceHandle, TraceStackTracingInfo, &stackId, sizeof( stackId ) );
|
||||
if( stackStatus != ERROR_SUCCESS )
|
||||
{
|
||||
tracy_free( s_prop );
|
||||
return false;
|
||||
}
|
||||
|
||||
#ifdef UNICODE
|
||||
WCHAR KernelLoggerName[sizeof( KERNEL_LOGGER_NAME )];
|
||||
#else
|
||||
|
Loading…
Reference in New Issue
Block a user