replace fprof with erlang:trace/3