Closed adrientetar closed 7 years ago
Apparently SIGPROF isn't present on Windows:
On Windows, signal() can only be called with SIGABRT, SIGFPE, SIGILL, SIGINT, SIGSEGV, or SIGTERM. A ValueError will be raised in any other case. Note that not all systems define the same set of signal names; an AttributeError will be raised if a signal name is not defined as SIG* module level constant.
Thanks for reporting! I am aware that some of the signals do not exist in Windows, but current implementation of flame graph profiling should work under Windows Subsystem for Linux. I haven't done any extensive testing on Windows though.
Why close? Do the flame graphs work on Windows now?
Flame graphs don't work on Windows, because signal
module is partially supported on Windows and I can't do much about that.
@nvdv A note warning about this problem could be good.
Why not just ignore the c config, throw a warning and go on?