Infrastructure improvements for profiling