lkml.org 
[lkml]   [2011]   [May]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[RFC patch 05/32] trace event irq remove semicolons
Part of the gradual TRACE_EVENT() semicolon removal. Enables creation of array
of events, thus saving space for trace event probes.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
CC: Steven Rostedt <rostedt@goodmis.org>
CC: Frederic Weisbecker <fweisbec@gmail.com>
CC: Ingo Molnar <mingo@elte.hu>
CC: Thomas Gleixner <tglx@linutronix.de>
---
include/trace/events/irq.h | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)

Index: linux-2.6-lttng/include/trace/events/irq.h
===================================================================
--- linux-2.6-lttng.orig/include/trace/events/irq.h
+++ linux-2.6-lttng/include/trace/events/irq.h
@@ -51,7 +51,7 @@ TRACE_EVENT(irq_handler_entry,
),

TP_printk("irq=%d name=%s", __entry->irq, __get_str(name))
-);
+)

/**
* irq_handler_exit - called immediately after the irq action handler returns
@@ -82,7 +82,7 @@ TRACE_EVENT(irq_handler_exit,

TP_printk("irq=%d ret=%s",
__entry->irq, __entry->ret ? "handled" : "unhandled")
-);
+)

DECLARE_EVENT_CLASS(softirq,

@@ -100,7 +100,7 @@ DECLARE_EVENT_CLASS(softirq,

TP_printk("vec=%u [action=%s]", __entry->vec,
show_softirq_name(__entry->vec))
-);
+)

/**
* softirq_entry - called immediately before the softirq handler
@@ -114,7 +114,7 @@ DEFINE_EVENT(softirq, softirq_entry,
TP_PROTO(unsigned int vec_nr),

TP_ARGS(vec_nr)
-);
+)

/**
* softirq_exit - called immediately after the softirq handler returns
@@ -128,7 +128,7 @@ DEFINE_EVENT(softirq, softirq_exit,
TP_PROTO(unsigned int vec_nr),

TP_ARGS(vec_nr)
-);
+)

/**
* softirq_raise - called immediately when a softirq is raised
@@ -142,7 +142,7 @@ DEFINE_EVENT(softirq, softirq_raise,
TP_PROTO(unsigned int vec_nr),

TP_ARGS(vec_nr)
-);
+)

#endif /* _TRACE_IRQ_H */



\
 
 \ /
  Last update: 2011-05-04 01:25    [W:0.140 / U:0.632 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site