benfred / py-spy

Sampling profiler for Python programs
MIT License
12.16k stars 401 forks source link

Native/Cython support for Mac and ARM #556

Open battaglia01 opened 1 year ago

battaglia01 commented 1 year ago

Currently py-spy's native profiling only works on Windows and Linux on x86.

How difficult would it be to add support for:

  1. Mac on x86
  2. Mac on ARM
  3. ARM in general

I'm Mac on ARM right now; kind of curious what the easiest way to get this up and running would be. Thinking maybe if Mac on x86 isn't too difficult, could run the program using Rosetta or something like that?