small modification to profiler harness