Reviving dtrace probes RFC - if there is an interest

I’d be interested in adding support for DTrace/Systemtap for Rust. I’ve got code that works on nightly, but being compiler plugin and using asm there is no way to get it working on stable and even on nightly I can’t do everything I want with the quality and ergonomy I’d like (main issue is access to Mir to get type information and use it to generate asm code). I think the only way forward would be to integrate probe generation with the compiler, so the question is: would Rust project be interested in merging it?

If the answer is yes, we can discuss further steps.

Links: Rust RFC: My code: Alternative implementation:


This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.