missing pointer type
[lttv.git] / 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.023065 seconds and 4 git commands to generate.