Closed ionelmc closed 7 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).
Take note of https://github.com/khamidou/lptrace
Make note of https://gist.github.com/CAFxX/571a1558db9a7b393579 and https://news.ycombinator.com/item?id=10195297 (a file-based queue technique).
For queues this seems like the package: http://semanchuk.com/philip/sysv_ipc/ (supports osx too).
Ruby has an very interesting tracer tool: https://github.com/tmm1/rbtrace/
Hunter could have something like that: