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: https://github.com/rust-lang/rfcs/issues/875 My code: https://github.com/Fiedzia/rust-usdt Alternative implementation: https://github.com/cuviper/rust-libprobe

2 Likes

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