update fix
authorcompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Wed, 7 Nov 2007 15:29:36 +0000 (15:29 +0000)
committercompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Wed, 7 Nov 2007 15:29:36 +0000 (15:29 +0000)
git-svn-id: http://ltt.polymtl.ca/svn@2731 04897980-b3bd-0310-b5e0-8ef037075253

ltt/branches/poly/ltt/marker.c

index aacfa00c873549190529bfcceba7cdeb587ae74a..a439ec93b2ef6a51f9202abb4a47d3e312481417 100644 (file)
@@ -407,10 +407,15 @@ int marker_format_event(LttTrace *trace, GQuark name, const char *format)
   struct marker_info *info;
   
   info = marker_get_info_from_name(trace, name);
-  if (!info)
-    g_error("Got marker format \"%s\", but marker name \"%s\" has no ID yet. "
-            "Kernel issue.",
-            format, g_quark_to_string(name));
+  if (!info) {
+    /* We ignore marker format that does not have IDs. It just means that it
+     * is only used by someone else's probe.
+     */
+    //g_error("Got marker format \"%s\", but marker name \"%s\" has no ID yet. "
+    //        "Kernel issue.",
+    //        format, g_quark_to_string(name));
+    return 0;
+  }
   for (; info != NULL; info = info->next) {
     if (info->format)
       g_free(info->format);
This page took 0.023806 seconds and 4 git commands to generate.