We propose a configurable dynamic profiler to identify the hot spots. The profiler works as a slave module attached to the instruction bus. The identified hot spots can be considered as custom instructions. A custom instruction mapping method based on the reconfigurable arrays.