From: compudj Date: Wed, 10 Oct 2007 19:12:01 +0000 (+0000) Subject: update X-Git-Tag: v0.12.20~860 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=6a62e071af9c2fcd95db1297b3bedb22f741d996;p=lttv.git update git-svn-id: http://ltt.polymtl.ca/svn@2629 04897980-b3bd-0310-b5e0-8ef037075253 --- diff --git a/ltt/branches/poly/lttv/lttv/tracecontext.c b/ltt/branches/poly/lttv/lttv/tracecontext.c index 3be1c31e..47a32762 100644 --- a/ltt/branches/poly/lttv/lttv/tracecontext.c +++ b/ltt/branches/poly/lttv/lttv/tracecontext.c @@ -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)