I am not sure if we can really do that as Dtrace is used for dynamic tracing by inserting probes as specific points on the system.
So when open syscall triggers the probe we capture the value and display for further analysis.
May be destructing Dtrace would help here..but not sure if you will be able to achieve what you are trying to do.
mdb is also another choice.
I do not know if what you are suggesting is practical but there is this example:
I do not understand the above code, so I can not provide any additional info.
have a good weekend,