Added register/unregister port or PID probe.
DTrace static probes appear to be 'one way', with no way to pass-in
parameters. This is a potential obstacle to straightforward use of D
scripts to observe Erlang programs.
Erlang programs often use registered names, and not PIDs or Ports. D
scripts will need a way to discover the association between registered
names (atoms) and those Process IDs or Ports. This proposal provides a
way to get the association as it is made, and hence they can be used
to pass values to D script variables.
This approach also ensures changes of association between names and
PIDs/Ports will be notified to interested D scripts.
Click on http://groups.google.co.uk/group/erlang-dtrace/web/scope?hl=en
- or copy & paste it into your browser's address bar if that doesn't