[RFC patch 18/32] trace event skb remove semicolons

From: Mathieu Desnoyers
Date: Mon May 02 2011 - 18:05:47 EST


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@xxxxxxxxxxxx>
CC: Steven Rostedt <rostedt@xxxxxxxxxxx>
CC: Frederic Weisbecker <fweisbec@xxxxxxxxx>
CC: Ingo Molnar <mingo@xxxxxxx>
CC: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
CC: Koki Sanagi <sanagi.koki@xxxxxxxxxxxxxx>
CC: Neil Horman <nhorman@xxxxxxxxxxxxx>
CC: David S. Miller <davem@xxxxxxxxxxxxx>
---
include/trace/events/skb.h | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)

Index: linux-2.6-lttng/include/trace/events/skb.h
===================================================================
--- linux-2.6-lttng.orig/include/trace/events/skb.h
+++ linux-2.6-lttng/include/trace/events/skb.h
@@ -31,7 +31,7 @@ TRACE_EVENT(kfree_skb,

TP_printk("skbaddr=%p protocol=%u location=%p",
__entry->skbaddr, __entry->protocol, __entry->location)
-);
+)

TRACE_EVENT(consume_skb,

@@ -48,7 +48,7 @@ TRACE_EVENT(consume_skb,
),

TP_printk("skbaddr=%p", __entry->skbaddr)
-);
+)

TRACE_EVENT(skb_copy_datagram_iovec,

@@ -67,7 +67,7 @@ TRACE_EVENT(skb_copy_datagram_iovec,
),

TP_printk("skbaddr=%p len=%d", __entry->skbaddr, __entry->len)
-);
+)

#endif /* _TRACE_SKB_H */


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/