Skip to content

Commit e937907

Browse files
committed
not about iOS devices
1 parent 6a214ed commit e937907

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

public/client/apple/TracyMach.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,8 @@ bool SysTraceStart( int64_t& samplingPeriod )
207207
// (technically, since this is a software-based user-mode sampling, elevated
208208
// privileges are unnecessary, but doing so keeps the behavior consistent with
209209
// the system tracing in other platforms)
210+
// NOTE/TODO: as is, iOS devices will never be able to run this system tracing
211+
// because iOS apps can never have an uid of 0...
210212
if( geteuid() != 0 ) return false;
211213

212214
auto& systrace = SysTraceApple::Get();

0 commit comments

Comments
 (0)