Sequential profiling for erlang