diff --git a/client/TracySysTrace.cpp b/client/TracySysTrace.cpp index 70ef92ca..1c19d41d 100644 --- a/client/TracySysTrace.cpp +++ b/client/TracySysTrace.cpp @@ -856,12 +856,7 @@ bool SysTraceStart( int64_t& samplingPeriod ) pe.exclude_kernel = 1; ProbePreciseIp( pe, currentPid ); fd = perf_event_open( &pe, currentPid, i, -1, PERF_FLAG_FD_CLOEXEC ); - if( fd == -1 ) - { - for( int j=0; j