[erlang-questions] erl_tracer optional callbacks

Lukas Larsson lukas.larsson@REDACTED
Mon Feb 6 21:32:07 CET 2017



> On 6 Feb 2017, at 21:05, Loïc Hoguin <essen@REDACTED> wrote:
> 
> Hello,
> 
> I have been studying erl_tracer a little, and will start using it tomorrow.

Great! Hope it is useful!

> There's one thing I can't understand.
> 
> What's the rationale behind having both a trace/enabled set of functions, and then equivalent functions with smaller scope? When would I want to use one of the smaller functions?
> 
> Is it an optimization, so fewer atom values need to be checked every time?

Yes. 

> 
> Thanks,
> 
> -- 
> Loïc Hoguin
> https://ninenines.eu
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions



More information about the erlang-questions mailing list