update
[lttv.git] / 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.023013 seconds and 4 git commands to generate.