Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support usdt and dtrace #291

Open
timotheecour opened this issue Jun 6, 2020 · 0 comments
Open

support usdt and dtrace #291

timotheecour opened this issue Jun 6, 2020 · 0 comments

Comments

@timotheecour
Copy link
Owner

refs: nim-lang#14559 (comment)

we could start offering dtrace-specific apis to make it easier to use in nim; it's an incredibly powerful tool for debugging (performance, counters, logic etc). Allows tracing running applications not written with dtrace in mind, or custom tracing of applications with dtrace hooks that can be changed at runtime.

All with zero overhead if you're not tracing, so it's easy to switch on/off. As an example, nim binary itself could be instrumented to have counters for various things (number of allocations, number of calls to key functions, vm calls etc)

the D language (not the dlang one ;-)) could potentially be generated from nim or some nim DSL too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant