X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=ltt%2Fbranches%2Fpoly%2Fltt%2Fmarker.c;h=a439ec93b2ef6a51f9202abb4a47d3e312481417;hb=af7b2c3459f0448f25ca00389f70813446e5470a;hp=aacfa00c873549190529bfcceba7cdeb587ae74a;hpb=57f0543606127dc4e3956c62acc3bfaa353cad5e;p=lttv.git diff --git a/ltt/branches/poly/ltt/marker.c b/ltt/branches/poly/ltt/marker.c index aacfa00c..a439ec93 100644 --- a/ltt/branches/poly/ltt/marker.c +++ b/ltt/branches/poly/ltt/marker.c @@ -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);