| CPC G06F 11/3495 (2013.01) [G06F 9/30101 (2013.01)] | 20 Claims |

|
1. A processor comprising:
an instruction processing unit configured to execute a software program including a plurality of machine-readable instructions;
a hardware performance monitoring unit, the hardware performance monitoring unit including:
a plurality of counters configured to count respective processing events associated with execution of the software program, and
a counter overflow monitor configured to generate an indication of a respective counter-overflow trace action in response to overflow of a counter of the plurality of counters; and
a trace encoder configured to:
receive the indication of the respective counter-overflow trace action from the hardware performance monitoring unit, and
in response to the indication of the respective counter-overflow trace action, perform the respective counter-overflow trace action.
|