All functions in this behavior must be implemented as NIFs. This limitation can be removed in a future releases. An example tracer module NIF
implementation is provided at the end of this page.
erl_tracer
erl_tracer
Module
erl_tracer
Module summary
Erlang tracer behavior.
Description
This behavior module implements the back end of the Erlang tracing system. The functions in this module are called whenever a trace probe is triggered. Both the enabled
and trace
functions are called in the context of the entity that triggered the trace probe. This means that the overhead by having the tracing enabled is greatly effected by how much time is spent in these functions. So, do as little work as possible in these functions.
Note