Visible to Intel only — GUID: iga1401400280302
Ixiasoft
Visible to Intel only — GUID: iga1401400280302
Ixiasoft
37.5.3. Interrupt Behavior
You can start and stop performance counters, and read raw performance results, in an interrupt service routine (ISR). Do not call the perf_print_formatted_report() function from an ISR.
If an interrupt occurs during the measurement of a section of code, the time taken by the CPU to process the interrupt and return to the section is added to the measurement time. The same applies to context switches in a multi-threaded environment. Your software must take appropriate measures to avoid or handle these situations.