Fix profiling of benchmarked names like 'something_endpoint_end'