[CRIU] [PATCH] proc: Remove now pointless debug

Pavel Emelyanov xemul at parallels.com
Fri Jan 23 06:50:31 PST 2015


Signed-off-by: Pavel Emelyanov <xemul at parallels.com>
---
 bfd.c        | 3 ---
 proc_parse.c | 1 -
 2 files changed, 4 deletions(-)

diff --git a/bfd.c b/bfd.c
index fa94af3..9ebffc4 100644
--- a/bfd.c
+++ b/bfd.c
@@ -41,7 +41,6 @@ static int buf_get(struct xbuf *xb)
 		void *mem;
 		int i;
 
-		pr_debug("BUF++\n");
 		mem = mmap(NULL, BUFBATCH * BUFSIZE, PROT_READ | PROT_WRITE,
 				MAP_PRIVATE | MAP_ANON, 0, 0);
 		if (mem == MAP_FAILED) {
@@ -73,7 +72,6 @@ static int buf_get(struct xbuf *xb)
 	xb->data = xb->mem;
 	xb->sz = 0;
 	xb->buf = b;
-	pr_debug("BUF %p <\n", xb->mem);
 	return 0;
 }
 
@@ -83,7 +81,6 @@ static void buf_put(struct xbuf *xb)
 	 * Don't unmap buffer back, it will get reused
 	 * by next bfdopen call
 	 */
-	pr_debug("BUF %p >\n", xb->mem);
 	list_add(&xb->buf->l, &bufs);
 	xb->buf = NULL;
 	xb->mem = NULL;
diff --git a/proc_parse.c b/proc_parse.c
index aa4755d..2979142 100644
--- a/proc_parse.c
+++ b/proc_parse.c
@@ -729,7 +729,6 @@ int parse_pid_status(pid_t pid, struct proc_status_creds *cr)
 		return -1;
 
 	while (done < 8 && (str = breadline(&f))) {
-		pr_debug("str: `%s'\n", str);
 		if (!strncmp(str, "State:", 6)) {
 			cr->state = str[7];
 			done++;
-- 
1.8.4.2



More information about the CRIU mailing list