[PATCH 0/2] Add tracepoints to trace all x86 system IRQs

From: Vaibhav Nagarnaik
Date: Fri Jul 29 2011 - 20:01:26 EST


This is a patch series aiming to trace all the x86 system IRQs. The
tracepoints make it easier to understand IRQ interaction with other
system events and how do the IRQs affect the system behavior.

Patch#0 adds irq_handler_{entry,exit} tracepoints to x86 timer interrupt
handler.
Patch#1 creates a irq_vectors/ event sub system and
irq_vectors_{entry,exit} trace events. It adds tracepoints to all x86
IRQ vector handlers.

Currently the patch only adds tracepoints to x86. A similar approach can
be taken with other architectures to trace IRQ vectors in the system.

Previous iterations of this patch set:
https://lkml.org/lkml/2011/4/22/321
https://lkml.org/lkml/2011/7/14/309


Vaibhav Nagarnaik (2):
trace,x86: Add tracepoint to x86 timer interrupt handler
trace,x86: Add x86 irq vector entry/exit tracepoints

arch/x86/include/asm/irq_vectors.h | 50 ++++++++++++++++++++++++++
arch/x86/kernel/apic/apic.c | 7 ++++
arch/x86/kernel/cpu/mcheck/therm_throt.c | 3 ++
arch/x86/kernel/cpu/mcheck/threshold.c | 3 ++
arch/x86/kernel/irq.c | 6 +++-
arch/x86/kernel/irq_work.c | 3 ++
arch/x86/kernel/smp.c | 7 ++++
arch/x86/kernel/time.c | 15 +++++---
arch/x86/kernel/traps.c | 3 ++
arch/x86/mm/tlb.c | 3 ++
include/trace/events/irq_vectors.h | 56 ++++++++++++++++++++++++++++++
11 files changed, 149 insertions(+), 7 deletions(-)
create mode 100644 include/trace/events/irq_vectors.h

--
1.7.3.1

--
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/