char *footer;
};
+#if 0
struct _LttEventType{
GQuark name;
gchar * description;
GData *fields_by_name;
int has_compact_data; //event header contains compact data (first field)
};
+#endif //0
/* Structure LttEvent and LttEventPosition must begin with the _exact_ same
* fields in the exact same order. LttEventPosition is a parent of LttEvent. */
head = g_hash_table_lookup(trace->markers_hash, (gconstpointer)name);
if (!head)
g_hash_table_insert(trace->markers_hash, (gpointer)name, info);
- else
- head->next = info;
+ else {
+ g_hash_table_replace(trace->markers_hash, (gpointer)name, info);
+ info->next = head;
+ }
}
int allocate_marker_data(LttTrace *trace)