+static inline char *marker_get_format_from_name(LttTrace *trace,
+ GQuark name)
+{
+ gpointer orig_key, value;
+ int res;
+
+ res = g_hash_table_lookup_extended(trace->markers_format_hash,
+ (gconstpointer)(gulong)name, &orig_key, &value);
+ if (!res)
+ return NULL;
+ return (char *)value;
+}
+