RE: [PATCH 2/2] trace,x86: Add x86 irq vector entry/exit tracepoints

From: Seiji Aguchi
Date: Mon Dec 12 2011 - 17:00:54 EST


Hi,

I'm interested in these tracepoints.
But this patch removed from -mm tree for some reason.

http://www.spinics.net/lists/mm-commits/msg85707.html

Do you plan to update it and push to upstream?

>@@ -859,7 +860,9 @@ void __irq_entry smp_apic_timer_interrupt(struct pt_regs *regs)
> */
> exit_idle();
> irq_enter();
>+ trace_irq_vector_entry(LOCAL_TIMER_VECTOR);
> local_apic_timer_interrupt();
>+ trace_irq_vector_exit(LOCAL_TIMER_VECTOR);
> irq_exit();

It would be better if you add "regs" to the argument of trace_irq_vector_entry()/ trace_irq_vector_exit().

With "regs", we are able to know what part of the system CPUs execute periodically.
This information really helps us find a root cause of system slowdown or hung up.

Seiji
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/