摘要 |
A data processing apparatus has a processing circuit element which can execute instructions at one of several privilege levels. A plurality of performance monitoring circuits are included. In response to an instruction executed at a first privilege level, first configuration data can be set for controlling performance monitoring by performance monitoring circuits of a first subset. A disable control flag can be set in response to an instruction executed at a second privilege level higher than the first privilege level. If the disable control flag has a predetermined value, the performance monitoring is disabled by the performance monitoring circuits of the first subset while the processing circuit element executes instructions at the second privilege level. |