[erlang-questions] erl_tracer optional callbacks

Loïc Hoguin <>
Mon Feb 6 21:05:50 CET 2017


Hello,

I have been studying erl_tracer a little, and will start using it 
tomorrow. 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?

Thanks,

-- 
Loïc Hoguin
https://ninenines.eu


More information about the erlang-questions mailing list