How do I keep track of all but one function in an Erlang module?
I wanted to track all the functions in the erlang module since dbg:tpl
, but one of the internal functions took 95% of the trace file. Then I wanted to exclude just this single feature and found that it was not as easy as I thought it would be.
I know there are great opportunities for pattern matching for arguments when tracing.
-
Is there a similar possibility to apply pattern matching to functions?
eg.: {'=/=', '$2', function_name}
I am open to external solutions!
Thanks!
+2
a source to share