From 7f440a66c6e6429ce477d208545b6965554ba4cb Mon Sep 17 00:00:00 2001 From: compudj Date: Thu, 11 Oct 2007 20:14:45 +0000 Subject: [PATCH] missing pointer type git-svn-id: http://ltt.polymtl.ca/svn@2659 04897980-b3bd-0310-b5e0-8ef037075253 --- ltt/branches/poly/ltt/marker.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ltt/branches/poly/ltt/marker.c b/ltt/branches/poly/ltt/marker.c index 87c053df..7b19391b 100644 --- a/ltt/branches/poly/ltt/marker.c +++ b/ltt/branches/poly/ltt/marker.c @@ -250,6 +250,7 @@ static inline long add_type(struct marker_info *info, switch (trace_type) { case LTT_TYPE_SIGNED_INT: case LTT_TYPE_UNSIGNED_INT: + case LTT_TYPE_POINTER: field->size = trace_size; field->alignment = trace_size; field->attributes = attributes; @@ -299,6 +300,7 @@ long marker_update_fields_offsets(struct marker_info *info, const char *data) switch (field->type) { case LTT_TYPE_SIGNED_INT: case LTT_TYPE_UNSIGNED_INT: + case LTT_TYPE_POINTER: field->offset = offset + ltt_align(offset, field->alignment, info->alignment); offset = field->offset + field->size; -- 2.34.1