PID Provider dtrace script

I'm just starting to mess about with dtrace on Solaris. How do I configure a probe in a PID provider dtrace script to trigger when the process being traced exits?

I've tried

pid$1:::exit

where $1 is the PID but I get

'exit' is an invalid probe name