projects
/
ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ustd: change benign WARN()s to DBG()s
[ust.git]
/
ustd
/
ustd.c
diff --git
a/ustd/ustd.c
b/ustd/ustd.c
index 1144705fec00d0eaaf29bdc13d4471ada0bb4f6f..046ac0c0835a551bcc15273b596226d1db757518 100644
(file)
--- 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")) {
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;
}
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")) {
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.
*/
/* 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) {
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.
*/
/* Skip the first subbuffer. We are not sure it is trustable
* because the put_subbuffer() did not complete.
*/
This page took
0.023241 seconds
and
4
git commands to generate.