4 ms·
Any advantages/disadvantages compared to py-spy [1]? [1]: https://github.com/benfred/py-spy https://github.com/benfred/py-spy
by gkbrk 4y ago
Any advantages/disadvantages compared to py-spy [1]?
[1]: https://github.com/benfred/py-spy https://github.com/benfred/py-spy
- fsyscall 4y agoAdvantanges - You cannot trace a Python process line by line in py-spy. Because py-spy does not attach the line's probe. By the way, py-spy is a profiler, beetrace is a tracer. - You can see the call/return hierarchy of a Python process because beetrace attaches function entry and function return probes. Disadvantages - To trace the process, Python must be configured with the --with-dtrace option. Otherwise, you won't be able to trace it.