joker-eph wrote: For production use-cases, I would think that the action mechanism should be the right thing to provide the tracing needed here: https://mlir.llvm.org/docs/ActionTracing/ https://github.com/llvm/llvm-project/pull/155526