Re: [RFC V2 1/2] irq: Add a framework to measure interrupt timings

From: Peter Zijlstra
Date: Wed Jan 20 2016 - 14:28:16 EST


On Wed, Jan 20, 2016 at 05:00:32PM +0100, Daniel Lezcano wrote:
> +++ b/kernel/irq/handle.c
> @@ -165,6 +165,7 @@ irqreturn_t handle_irq_event_percpu(struct irq_desc *desc)
> /* Fall through to add to randomness */
> case IRQ_HANDLED:
> flags |= action->flags;
> + handle_irqtiming(irq, action->dev_id);
> break;

This also looks completely busted for shared interrupts.