From: Mathieu Desnoyers Date: Tue, 12 Jun 2012 22:33:33 +0000 (-0400) Subject: fix: signal_generate event should print utf8 for comm field X-Git-Tag: v2.1.0-rc1~19 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=c5ca01c9ce528a1ace54ba422448a8524e3b7883;p=lttng-modules.git fix: signal_generate event should print utf8 for comm field Signed-off-by: Mathieu Desnoyers --- diff --git a/instrumentation/events/lttng-module/signal.h b/instrumentation/events/lttng-module/signal.h index c3529f97..945747ff 100644 --- a/instrumentation/events/lttng-module/signal.h +++ b/instrumentation/events/lttng-module/signal.h @@ -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 )