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 30/32] trace event compaction 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: Mel Gorman <mel@csn.ul.ie>
    ---
    include/trace/events/compaction.h | 8 ++++----
    1 file changed, 4 insertions(+), 4 deletions(-)

    Index: linux-2.6-lttng/include/trace/events/compaction.h
    ===================================================================
    --- linux-2.6-lttng.orig/include/trace/events/compaction.h
    +++ linux-2.6-lttng/include/trace/events/compaction.h
    @@ -28,7 +28,7 @@ DECLARE_EVENT_CLASS(mm_compaction_isolat
    TP_printk("nr_scanned=%lu nr_taken=%lu",
    __entry->nr_scanned,
    __entry->nr_taken)
    -);
    +)

    DEFINE_EVENT(mm_compaction_isolate_template, mm_compaction_isolate_migratepages,

    @@ -36,14 +36,14 @@ DEFINE_EVENT(mm_compaction_isolate_templ
    unsigned long nr_taken),

    TP_ARGS(nr_scanned, nr_taken)
    -);
    +)

    DEFINE_EVENT(mm_compaction_isolate_template, mm_compaction_isolate_freepages,
    TP_PROTO(unsigned long nr_scanned,
    unsigned long nr_taken),

    TP_ARGS(nr_scanned, nr_taken)
    -);
    +)

    TRACE_EVENT(mm_compaction_migratepages,

    @@ -65,7 +65,7 @@ TRACE_EVENT(mm_compaction_migratepages,
    TP_printk("nr_migrated=%lu nr_failed=%lu",
    __entry->nr_migrated,
    __entry->nr_failed)
    -);
    +)


    #endif /* _TRACE_COMPACTION_H */


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