Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755247AbbEFArX (ORCPT ); Tue, 5 May 2015 20:47:23 -0400 Received: from mail-ig0-f169.google.com ([209.85.213.169]:34884 "EHLO mail-ig0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751847AbbEFArV (ORCPT ); Tue, 5 May 2015 20:47:21 -0400 From: Badhri Jagan Sridharan X-Google-Original-From: Badhri Jagan Sridharan To: Steven Rostedt , Ingo Molnar Cc: linux-kernel@vger.kernel.org, Badhri Jagan Sridharan Subject: [PATCH] tracing: Adds handler name to irq_handler_entry Date: Tue, 5 May 2015 17:46:58 -0700 Message-Id: <1430873218-3142-1-git-send-email-Badhri@google.com> X-Mailer: git-send-email 2.2.0.rc0.207.ga3a616c Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1117 Lines: 39 This patch includes the ISR function name to irq_handler_entry trace point. Signed-off-by: Badhri Jagan Sridharan --- 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..9994ba4 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 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/