update
authorcompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Wed, 10 Oct 2007 19:12:01 +0000 (19:12 +0000)
committercompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Wed, 10 Oct 2007 19:12:01 +0000 (19:12 +0000)
git-svn-id: http://ltt.polymtl.ca/svn@2629 04897980-b3bd-0310-b5e0-8ef037075253

ltt/branches/poly/lttv/lttv/tracecontext.c

index 3be1c31ebf45bf8fb6534e5d6abc35e8f7f39518..47a327621b98f5c496cca9d9269bd6542882d7c4 100644 (file)
@@ -1024,7 +1024,12 @@ skip_marker:
   } while(info != NULL);
 
   /* Error if no new trace hook has been added */
-  return (init_array_size == (*trace_hooks)->len);
+  if (init_array_size == (*trace_hooks)->len) {
+        g_warning("No marker of name %s has all requested fields",
+                g_quark_to_string(marker_name));
+        return 1;
+  }
+  return 0;
 }
 
 void lttv_trace_hook_remove_all(GArray **th)
This page took 0.026872 seconds and 4 git commands to generate.