diff --git a/public/client/TracySysTrace.cpp b/public/client/TracySysTrace.cpp index b0cd5df3..d012c417 100644 --- a/public/client/TracySysTrace.cpp +++ b/public/client/TracySysTrace.cpp @@ -191,7 +191,7 @@ bool SysTraceStart( int64_t& samplingPeriod ) if( !etw::CheckAdminPrivilege() ) return false; - session_kernel = etw::StartSingletonKernelLoggerSession(); + session_kernel = etw::StartSingletonKernelLoggerSession( 0 ); if( session_kernel.handle == 0 ) return false; diff --git a/public/client/windows/TracyETW.cpp b/public/client/windows/TracyETW.cpp index e9651713..f20e9829 100644 --- a/public/client/windows/TracyETW.cpp +++ b/public/client/windows/TracyETW.cpp @@ -326,7 +326,7 @@ static ULONG SetCPUProfilingInterval( int microseconds ) return ETWError( status ); } -static Session StartSingletonKernelLoggerSession( ULONGLONG EnableFlags = 0 ) +static Session StartSingletonKernelLoggerSession( ULONGLONG EnableFlags ) { Session session = {};