[lttng-dev] [LTTng-modules PATCH] The msg part of the printk:console event was 1 character too long
Yannick Brosseau
yannick.brosseau at gmail.com
Fri Jun 28 15:32:34 EDT 2013
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)
+ min_t(unsigned, end - start, MSG_TRACE_MAX_LEN))
),
TP_fast_assign(
--
1.7.10.4
More information about the lttng-dev
mailing list