你的位置:首页 > 操作系统

[操作系统]linux sirq


 

 

cat /proc/interrupts       CPU0    CPU1    CPU2    CPU3     0:   14752     0     0     0  IO-APIC-edge   timer  1:     9     0     0     0  IO-APIC-edge   i8042  4:    478     0     0     0  IO-APIC-edge   serial  6:     3     0     0     0  IO-APIC-edge   floppy  7:    1834   16517    2843     6  IO-APIC hyperv  8:     0     0     0     0  IO-APIC-edge   rtc0  9:     0     0     0     0  IO-APIC-fasteoi  acpi 12:    167     0     0     0  IO-APIC-edge   i8042 14:     0     0     0     0  IO-APIC-edge   ata_piix 15:     0     0     0     0  IO-APIC-edge   ata_piix NMI:     0     0     0     0  Non-maskable interrupts LOC:   201953   201963   201980   201972  Local timer interrupts SPU:     0     0     0     0  Spurious interrupts PMI:     0     0     0     0  Performance monitoring interrupts IWI:    2415    2776    1292    1848  IRQ work interrupts RTR:     0     0     0     0  APIC ICR read retries RES:   12420    7719    5509    6198  Rescheduling interrupts CAL:    3127    740    1762    3906  Function call interrupts TLB:    541    600    610    565  TLB shootdowns TRM:     0     0     0     0  Thermal event interrupts THR:     0     0     0     0  Threshold APIC interrupts MCE:     0     0     0     0  Machine check exceptions MCP:     3     3     3     3  Machine check polls ERR:     0 MIS:     0

View Code

 

---------------------------------------------------------------------------------------------------------注释:1. 对部分IRQ标识的解释Interrupt as in /proc/interrupts    Name as it appears in ftrace logNMI: Non-maskable interrupts      : NMI_VECTORLOC: Local timer interrupts      : LOCAL_TIMER_VECTORSPU: Spurious interrupts        : SPURIOUS_APIC_VECTORPMI: Performance monitoring interrupts : <not added>PND: Performance pending work     : LOCAL_PENDING_VECTORRES: Rescheduling interrupts      : RESCHEDULE_VECTORCAL: Function call interrupts     : CALL_FUNCTION_VECTOR or                     CALL_FUNCTION_SINGLE_VECTORTLB: TLB shootdowns          : INVALIDATE_TLB_VECTOR_START to                     INVALIDATE_TLB_VECTOR_ENDTRM: Thermal event interrupts     : THERMAL_APIC_VECTORTHR: Threshold APIC interrupts     : THRESHOLD_APIC_VECTORMCE: Machine check exceptions     : <not added>MCP: Machine check polls        : <not added>ERR:                  : ERROR_APIC_VECTORMIS:                  : <not added>PLT: Platform interrupts        : X86_PLATFORM_IPI_VECTOR2. IO-APIC-edge timer此处的timer为系统定时器.

View Code