From: compudj Date: Thu, 11 Oct 2007 20:14:45 +0000 (+0000) Subject: missing pointer type X-Git-Tag: v0.12.20~830 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=7f440a66c6e6429ce477d208545b6965554ba4cb;p=lttv.git missing pointer type git-svn-id: http://ltt.polymtl.ca/svn@2659 04897980-b3bd-0310-b5e0-8ef037075253 --- 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;