CPC G06F 11/273 (2013.01) [G06F 11/2268 (2013.01); G06F 11/3072 (2013.01); G06F 11/3075 (2013.01); G06F 11/3476 (2013.01); G06F 11/3485 (2013.01); G06F 13/20 (2013.01); G06F 11/3013 (2013.01); G06F 11/348 (2013.01)] | 20 Claims |
1. An apparatus, comprising:
operational circuitry; and
Hardware Diagnostics Circuitry (HDC), configured to:
receive a definition of multiple trigger rules, wherein each trigger rule specifies triggering of a respective trigger event as a function of one or more trigger data sources in the operational circuitry;
receive a definition of (i) a pre-trigger logging set selected from among a plurality of diagnostics data sources in the operational circuitry, and (ii) for each trigger rule, a respective post-trigger logging set comprising a respective set of one or more of the diagnostics data sources; and
during operation of the operational circuitry, repeatedly log the diagnostics data sources in the pre-trigger logging set while retaining only up to a defined amount of most-recent data from the diagnostics data sources in the pre-trigger logging set, repeatedly log the trigger data sources and repeatedly evaluate the trigger rules, and, in response to triggering of a given trigger event by a given trigger rule, start logging the diagnostics data sources in the post-trigger logging set of the given trigger rule.
|