I wanted to trace for all functions in an erlang module, with dbg:tpl
, but one of the internal functions took up 95% of the trace file. I then wanted to exclude only that single function and found that it was not as easy as I thought it would be.
I know there are great pattern matching possibilities for arguments when tracing.
Is there a similar possibility to apply pattern matching for functions?
eg.: {'=/=', '$2', function_name}
I am open for outside-the-box solutions as well!
Thank You!