Log profiler: fixed allocation and call frames end detection in test runner.