[lttng-dev] [LTTng-modules PATCH] The msg part of the printk:console event was 1 character too long
Mathieu Desnoyers
mathieu.desnoyers at efficios.com
Fri Jun 28 15:43:04 EDT 2013
* Yannick Brosseau (yannick.brosseau at gmail.com) wrote:
> Signed-off-by: Yannick Brosseau <yannick.brosseau at gmail.com>
> ---
> 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
More information about the lttng-dev
mailing list