From 1a0282fcdb70b6c1fc76c77b319b27dac3980a51 Mon Sep 17 00:00:00 2001 From: compudj Date: Wed, 1 Jul 2009 20:53:05 +0000 Subject: [PATCH] remove warning git-svn-id: http://ltt.polymtl.ca/svn@3408 04897980-b3bd-0310-b5e0-8ef037075253 --- trunk/lttv/configure.in | 2 +- trunk/lttv/lttv/lttv/tracecontext.c | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/trunk/lttv/configure.in b/trunk/lttv/configure.in index d9e5689f..c48c3aa8 100644 --- a/trunk/lttv/configure.in +++ b/trunk/lttv/configure.in @@ -23,7 +23,7 @@ AC_PREREQ(2.57) AC_INIT(FULL-PACKAGE-NAME, VERSION, BUG-REPORT-ADDRESS) #AC_WITH_LTDL # not needed ? -AM_INIT_AUTOMAKE(lttv,0.12.16-19062009) +AM_INIT_AUTOMAKE(lttv,0.12.17-01072009) AM_CONFIG_HEADER(config.h) AM_PROG_LIBTOOL diff --git a/trunk/lttv/lttv/lttv/tracecontext.c b/trunk/lttv/lttv/lttv/tracecontext.c index dbac9928..939ed6f2 100644 --- a/trunk/lttv/lttv/lttv/tracecontext.c +++ b/trunk/lttv/lttv/lttv/tracecontext.c @@ -980,7 +980,7 @@ int lttv_trace_find_hook(LttTrace *t, GQuark channel_name, GQuark event_name, group = g_datalist_id_get_data(&t->tracefiles, channel_name); if (unlikely(!group || group->len == 0)) { - g_warning("No channel for marker named %s.%s found", + g_info("No channel for marker named %s.%s found", g_quark_to_string(channel_name), g_quark_to_string(event_name)); return 1; } @@ -988,7 +988,7 @@ int lttv_trace_find_hook(LttTrace *t, GQuark channel_name, GQuark event_name, mdata = g_array_index (group, LttTracefile, 0).mdata; info = marker_get_info_from_name(mdata, event_name); if(unlikely(info == NULL)) { - g_warning("No marker named %s.%s found", + g_info("No marker named %s.%s found", g_quark_to_string(channel_name), g_quark_to_string(event_name)); return 1; } @@ -1026,7 +1026,7 @@ int lttv_trace_find_hook(LttTrace *t, GQuark channel_name, GQuark event_name, marker. Print a warning and skip this marker completely. Still iterate on other markers with same name. */ g_ptr_array_free(tmpth.fields, TRUE); - g_warning("Field %s cannot be found in marker %s.%s", + g_info("Field %s cannot be found in marker %s.%s", g_quark_to_string(*f), g_quark_to_string(channel_name), g_quark_to_string(event_name)); goto skip_marker; @@ -1040,7 +1040,7 @@ skip_marker: /* Error if no new trace hook has been added */ if (init_array_size == (*trace_hooks)->len) { - g_warning("No marker of name %s.%s has all requested fields", + g_info("No marker of name %s.%s has all requested fields", g_quark_to_string(channel_name), g_quark_to_string(event_name)); return 1; } -- 2.34.1