From: Pierre-Marc Fournier Date: Tue, 9 Mar 2010 05:26:15 +0000 (-0500) Subject: ustd: change benign WARN()s to DBG()s X-Git-Tag: v1.9.1~653 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=9c9048271f2e13c3f4b9d19220d72d421f63bf6a;p=lttng-ust.git ustd: change benign WARN()s to DBG()s --- diff --git a/ustd/ustd.c b/ustd/ustd.c index 1144705f..046ac0c0 100644 --- a/ustd/ustd.c +++ b/ustd/ustd.c @@ -99,7 +99,7 @@ int get_subbuffer(struct buffer_info *buf) goto end_rep; } else if(!strcmp(received_msg, "NOTFOUND")) { - WARN("For buffer %s, the trace was not found. This likely means it was destroyed by the user.", buf->name); + DBG("For buffer %s, the trace was not found. This likely means it was destroyed by the user.", buf->name); retval = GET_SUBBUF_DONE; goto end_rep; } @@ -160,7 +160,7 @@ int put_subbuffer(struct buffer_info *buf) retval = PUT_SUBBUF_OK; } else if(!strcmp(received_msg, "NOTFOUND")) { - WARN("For buffer %s, the trace was not found. This likely means it was destroyed by the user.", buf->name); + DBG("For buffer %s, the trace was not found. This likely means it was destroyed by the user.", buf->name); /* However, maybe this was not the last subbuffer. So * we return the program died. */ @@ -509,7 +509,7 @@ int consumer_loop(struct buffer_info *buf) break; } else if(result == PUT_SUBBUF_DIED) { - WARN("application died while putting subbuffer"); + DBG("application died while putting subbuffer"); /* Skip the first subbuffer. We are not sure it is trustable * because the put_subbuffer() did not complete. */