Implement detailed function level data collection and reporting.