missing pointer type
authorcompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Thu, 11 Oct 2007 20:14:45 +0000 (20:14 +0000)
committercompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Thu, 11 Oct 2007 20:14:45 +0000 (20:14 +0000)
git-svn-id: http://ltt.polymtl.ca/svn@2659 04897980-b3bd-0310-b5e0-8ef037075253

ltt/branches/poly/ltt/marker.c

index 87c053df467af8d23c18ababfd68812a1b166d23..7b19391b0734baf67b6d2b0566ee5d0a5dfdb293 100644 (file)
@@ -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;
This page took 0.023528 seconds and 4 git commands to generate.