add compatibility list
[lttv.git] / ltt / branches / poly / ltt / tracefile.c
index 20978c01ee66882d2b6a0d4cab5fe42a2f85154a..cdfab23fd2c3dc62d75a46fdac042b53ec0deb68 100644 (file)
@@ -1012,7 +1012,8 @@ static int ltt_process_facility_tracefile(LttTracefile *tf)
           fac->name = g_quark_from_string(fac_name);
           fac->checksum = ltt_get_uint32(LTT_GET_BO(tf),
                           &fac_state_dump_load_data->checksum);
-          fac->id = fac_state_dump_load_data->id;
+          fac->id = ltt_get_uint32(LTT_GET_BO(tf),
+                          &fac_state_dump_load_data->id);
           fac->pointer_size = ltt_get_uint32(LTT_GET_BO(tf),
                           &fac_state_dump_load_data->pointer_size);
           fac->long_size = ltt_get_uint32(LTT_GET_BO(tf),
@@ -2169,6 +2170,8 @@ void preset_field_type_size(LttTracefile *tf, LttEventType *event_type,
           max_size = max(max_size, field->child[i]->field_size);
       }
       if(final_child_status != FIELD_FIXED) {
+                               g_error("LTTV does not support variable size fields in unions.");
+                               /* This will stop the application. */
         *fixed_root = final_child_status;
         *fixed_parent = final_child_status;
         field->field_size = 0;
This page took 0.025451 seconds and 4 git commands to generate.