Binary programmable method for application performance data collection