linux/include/trace
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
..
block.h blktrace: port to tracepoints, update 2008-11-26 13:04:35 +01:00
boot.h tracing/fastboot: include missing headers 2008-12-12 09:26:13 +01:00
irq.h tracing, genirq: add irq enter and exit trace events 2009-02-26 18:43:50 +01:00
irq_event_types.h tracing, genirq: add irq enter and exit trace events 2009-02-26 18:43:50 +01:00
kmemtrace.h tracing/kmemtrace: normalize the raw tracer event to the unified tracing API 2008-12-30 09:36:13 +01:00
power.h tracing: convert c/p state power tracer to use tracepoints 2009-02-13 09:06:18 -05:00
sched.h tracing: add schedule events to event trace 2009-02-24 21:54:07 -05:00
sched_event_types.h tracing: rename DEFINE_TRACE_FMT to just TRACE_FORMAT 2009-02-25 21:44:22 -05:00
workqueue.h tracing: add a new workqueue tracer 2009-01-14 12:11:43 +01:00