* Yannick Brosseau ([email protected]) wrote:
> Signed-off-by: Yannick Brosseau <[email protected]>
> ---
>  instrumentation/events/lttng-module/printk.h |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/instrumentation/events/lttng-module/printk.h 
> b/instrumentation/events/lttng-module/printk.h
> index 4c744f9..f4b6028 100644
> --- a/instrumentation/events/lttng-module/printk.h
> +++ b/instrumentation/events/lttng-module/printk.h
> @@ -19,7 +19,7 @@ TRACE_EVENT_CONDITION(console,
>  
>       TP_STRUCT__entry(
>               __dynamic_array_text(char, msg,
> -                     min_t(unsigned, end - start, MSG_TRACE_MAX_LEN) + 1)

this was taken from the Linux kernel mainline instrumentation, no ?

Has this been fixed upstream ? If so, can you cite the commit in the
changelog ?

Thanks,

Mathieu

> +                     min_t(unsigned, end - start, MSG_TRACE_MAX_LEN))
>       ),
>  
>       TP_fast_assign(
> -- 
> 1.7.10.4
> 

-- 
Mathieu Desnoyers
EfficiOS Inc.
http://www.efficios.com

_______________________________________________
lttng-dev mailing list
[email protected]
http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

Reply via email to