mirror of
https://github.com/wolfpld/tracy
synced 2025-04-30 20:53:52 +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;
|
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
|
#ifdef UNICODE
|
||||||
WCHAR KernelLoggerName[sizeof( KERNEL_LOGGER_NAME )];
|
WCHAR KernelLoggerName[sizeof( KERNEL_LOGGER_NAME )];
|
||||||
#else
|
#else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user