lkml.org 
[lkml]   [2011]   [Jan]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[RFC patch 19/28] trace event skb 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>
    CC: Koki Sanagi <sanagi.koki@jp.fujitsu.com>
    CC: Neil Horman <nhorman@tuxdriver.com>
    CC: David S. Miller <davem@davemloft.net>
    ---
    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 */



    \
     
     \ /
      Last update: 2011-01-09 23:09    [W:0.021 / U:1.476 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site