kernel-ark/kernel/irq
Jason Baron af39241b90 tracing, genirq: add irq enter and exit trace events
Impact: add new tracepoints

Add them to the generic IRQ code, that way every architecture
gets these new tracepoints, not just x86.

Using Steve's new 'TRACE_FORMAT', I can get function graph
trace as follows using the original two IRQ tracepoints:

 3)               |    handle_IRQ_event() {
 3)               |    /* (irq_handler_entry) irq=28 handler=eth0 */
 3)               |    e1000_intr_msi() {
 3)   2.460 us    |      __napi_schedule();
 3)   9.416 us    |    }
 3)               |    /* (irq_handler_exit) irq=28 handler=eth0 return=handled */
 3) + 22.935 us   |  }

Signed-off-by: Jason Baron <jbaron@redhat.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Acked-by: Peter Zijlstra <peterz@infradead.org>
Acked-by: Masami Hiramatsu <mhiramat@redhat.com>
Cc: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Cc: Mathieu Desnoyers <compudj@krystal.dyndns.org>
Cc: "Frank Ch. Eigler" <fche@redhat.com>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2009-02-26 18:43:50 +01:00
..
autoprobe.c async: Asynchronous function calls to speed up kernel boot 2009-01-07 08:45:46 -08:00
chip.c irq: export __set_irq_handler() and handle_level_irq() 2009-01-14 12:34:21 +01:00
devres.c kernel: explicitly include required header files under kernel/ 2008-04-29 08:06:04 -07:00
handle.c tracing, genirq: add irq enter and exit trace events 2009-02-26 18:43:50 +01:00
internals.h x86, sparseirq: move irq_desc according to smp_affinity, v7 2008-12-17 00:14:01 +01:00
Makefile x86, sparseirq: move irq_desc according to smp_affinity, v7 2008-12-17 00:14:01 +01:00
manage.c cpumask fallout: Initialize irq_default_affinity earlier 2009-01-27 16:06:55 -08:00
migration.c cpumask: make irq_set_affinity() take a const struct cpumask 2008-12-13 21:20:26 +10:30
numa_migrate.c irq, x86: fix lock status with numa_migrate_irq_desc 2009-02-01 11:36:31 +01:00
proc.c ia64: cpumask fix for is_affinity_mask_valid() 2009-01-03 18:59:33 +01:00
resend.c generic: sparse irqs: use irq_desc() together with dyn_array, instead of irq_desc[] 2008-10-16 16:52:29 +02:00
spurious.c irq: simplify for_each_irq_desc() usage 2008-12-26 09:48:18 +01:00