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 19/32] trace event syscalls 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: Josh Stone <jistone@redhat.com>
    ---
    include/trace/events/syscalls.h | 4 ++--
    1 file changed, 2 insertions(+), 2 deletions(-)

    Index: linux-2.6-lttng/include/trace/events/syscalls.h
    ===================================================================
    --- linux-2.6-lttng.orig/include/trace/events/syscalls.h
    +++ linux-2.6-lttng/include/trace/events/syscalls.h
    @@ -38,7 +38,7 @@ TRACE_EVENT_FN(sys_enter,
    __entry->args[3], __entry->args[4], __entry->args[5]),

    syscall_regfunc, syscall_unregfunc
    -);
    +)

    TRACE_EVENT_FLAGS(sys_enter, TRACE_EVENT_FL_CAP_ANY)

    @@ -62,7 +62,7 @@ TRACE_EVENT_FN(sys_exit,
    __entry->id, __entry->ret),

    syscall_regfunc, syscall_unregfunc
    -);
    +)

    TRACE_EVENT_FLAGS(sys_exit, TRACE_EVENT_FL_CAP_ANY)



    \
     
     \ /
      Last update: 2011-05-04 01:17    [W:0.020 / U:1.276 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site