adcf199294
Check that the function to be profiled is actually defined. Check that the MetricCollector used actually can time the region requested. Default to using the module's entry_name instead of "main".