Oprofile是一种细粒度的工具,可以为指令集或者为函数、系统调用或中断处理例程收集采样。
OProfile is fine-grained and can collect samples for a set of instructions, or for function, system call, or interrupt handlers.
当处理DRV_DISABLE消息时,驱动程序会把任何硬件都置于非活动状态,也可能会移出中断处理例程。
When processing the DRV_DISABLE message, the driver places any hardware in an inactive state, which may include the removal of interrupt handlers.
缺省情况下,驱动程序IR Q例程应该返回IRQ_HANDLED,当驱动程序正在处理那个中断时却返回了IRQ_NONE,说明存在bug。
By default, the driver IRQ routine should return IRQ_HANDLED as it is a bug to return IRQ_NONE when the driver has actually handled that interrupt.
应用推荐