add instruction profiling