[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20110503122706.GB874@hmsreliant.think-freely.org>
Date: Tue, 3 May 2011 08:27:07 -0400
From: Neil Horman <nhorman@...driver.com>
To: Mathieu Desnoyers <mathieu.desnoyers@...icios.com>
Cc: LKML <linux-kernel@...r.kernel.org>,
Steven Rostedt <rostedt@...dmis.org>,
Ingo Molnar <mingo@...e.hu>,
Thomas Gleixner <tglx@...utronix.de>,
Frederic Weisbecker <fweisbec@...il.com>,
"David S. Miller" <davem@...emloft.net>,
Koki Sanagi <sanagi.koki@...fujitsu.com>
Subject: Re: [RFC patch 13/32] trace event net remove semicolons
On Mon, May 02, 2011 at 05:11:36PM -0400, Mathieu Desnoyers wrote:
> 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@...icios.com>
> CC: Steven Rostedt <rostedt@...dmis.org>
> CC: Frederic Weisbecker <fweisbec@...il.com>
> CC: Ingo Molnar <mingo@...e.hu>
> CC: Thomas Gleixner <tglx@...utronix.de>
> CC: Neil Horman <nhorman@...driver.com>
> CC: David S. Miller <davem@...emloft.net>
> CC: Koki Sanagi <sanagi.koki@...fujitsu.com>
> ---
> include/trace/events/net.h | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)
>
Acked-by: Neil Horman <nhorman@...driver.com>
> Index: linux-2.6-lttng/include/trace/events/net.h
> ===================================================================
> --- linux-2.6-lttng.orig/include/trace/events/net.h
> +++ linux-2.6-lttng/include/trace/events/net.h
> @@ -32,7 +32,7 @@ TRACE_EVENT(net_dev_xmit,
>
> TP_printk("dev=%s skbaddr=%p len=%u rc=%d",
> __get_str(name), __entry->skbaddr, __entry->len, __entry->rc)
> -);
> +)
>
> DECLARE_EVENT_CLASS(net_dev_template,
>
> @@ -61,21 +61,21 @@ DEFINE_EVENT(net_dev_template, net_dev_q
> TP_PROTO(struct sk_buff *skb),
>
> TP_ARGS(skb)
> -);
> +)
>
> DEFINE_EVENT(net_dev_template, netif_receive_skb,
>
> TP_PROTO(struct sk_buff *skb),
>
> TP_ARGS(skb)
> -);
> +)
>
> DEFINE_EVENT(net_dev_template, netif_rx,
>
> TP_PROTO(struct sk_buff *skb),
>
> TP_ARGS(skb)
> -);
> +)
> #endif /* _TRACE_NET_H */
>
> /* This part must be outside protection */
>
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists