Messages in this thread Patch in this message | | | From | Badhri Jagan Sridharan <> | Subject | [PATCH v2] tracing: Adds handler name to irq_handler_entry | Date | Tue, 5 May 2015 20:06:27 -0700 |
| |
This patch includes the ISR function name to irq_handler_entry trace point.
Signed-off-by: Badhri Jagan Sridharan <Badhri@google.com> --- Changelog since v1: - fixed indentation
include/trace/events/irq.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/include/trace/events/irq.h b/include/trace/events/irq.h index ff8f6c0..dd8918c 100644 --- a/include/trace/events/irq.h +++ b/include/trace/events/irq.h @@ -58,14 +58,17 @@ TRACE_EVENT(irq_handler_entry, TP_STRUCT__entry( __field( int, irq ) __string( name, action->name ) + __field( void*, handler ) ), TP_fast_assign( __entry->irq = irq; __assign_str(name, action->name); + __entry->handler = action->handler; ), - TP_printk("irq=%d name=%s", __entry->irq, __get_str(name)) + TP_printk("irq=%d name=%s handler=%pf", + __entry->irq, __get_str(name), __entry->handler) ); /** -- 2.2.0.rc0.207.ga3a616c
| |