Modifed call profiling to avoid profiling calls of blocks