benfred / py-spy

Sampling profiler for Python programs
MIT License
12.89k stars 431 forks source link

Cannot detect GIL holding #669

Closed satyamg1620 closed 3 weeks ago

satyamg1620 commented 6 months ago

Cannot detect GIL holding in version '3.9.18' on the current platform (reason: unknown pyruntime.gilstate.tstate_current offset) Python version: 3.9.18 Platform: s390x

satyamg1620 commented 6 months ago

@simonrw @benfred @jarus @auscompgeek can you please help with this issue?

benfred commented 3 weeks ago

GIL detection is platform dependant for py-spy when profiling python versions before 3.12 - and we don't officially support the s390x platform. This isn't something we'll be able to help out with unfortunately