fix: signal_generate event should print utf8 for comm field
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 12 Jun 2012 22:33:33 +0000 (18:33 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 12 Jun 2012 22:33:33 +0000 (18:33 -0400)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
instrumentation/events/lttng-module/signal.h

index c3529f973d6beb1870b45db15ff6f6d36630e3a0..945747ffdded66be6317c0986d357e2bbe42d86e 100644 (file)
@@ -46,7 +46,7 @@ TRACE_EVENT(signal_generate,
                __field(        int,    sig                     )
                __field(        int,    errno                   )
                __field(        int,    code                    )
-               __array(        char,   comm,   TASK_COMM_LEN   )
+               __array_text(   char,   comm,   TASK_COMM_LEN   )
                __field(        pid_t,  pid                     )
        ),
 
@@ -73,7 +73,7 @@ TRACE_EVENT(signal_generate,
                __field(        int,    sig                     )
                __field(        int,    errno                   )
                __field(        int,    code                    )
-               __array(        char,   comm,   TASK_COMM_LEN   )
+               __array_text(   char,   comm,   TASK_COMM_LEN   )
                __field(        pid_t,  pid                     )
                __field(        int,    group                   )
                __field(        int,    result                  )
This page took 0.02661 seconds and 4 git commands to generate.