ionelmc / python-hunter

Hunter is a flexible code tracing toolkit.
https://python-hunter.readthedocs.io/
BSD 2-Clause "Simplified" License
800 stars 47 forks source link

Strace-like functionality #27

Closed ionelmc closed 7 years ago

ionelmc commented 8 years ago

Ruby has an very interesting tracer tool: https://github.com/tmm1/rbtrace/

Hunter could have something like that:

ionelmc commented 8 years ago

If we'd use a signal I'd go with SIGTRAP: https://www.gnu.org/software/coreutils/manual/html_node/Signal-specifications.html (as opposed to rbtrace's SIGURG, also: https://github.com/tmm1/rbtrace/issues/53).

ionelmc commented 7 years ago

Take note of https://github.com/khamidou/lptrace

ionelmc commented 7 years ago

Make note of https://gist.github.com/CAFxX/571a1558db9a7b393579 and https://news.ycombinator.com/item?id=10195297 (a file-based queue technique).

ionelmc commented 7 years ago

For queues this seems like the package: http://semanchuk.com/philip/sysv_ipc/ (supports osx too).