mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-01-23 02:14:37 +00:00
proc: Remove now pointless debug
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
parent
9ffc19b307
commit
c9b6614eef
2 changed files with 0 additions and 4 deletions
3
bfd.c
3
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;
|
||||
|
|
|
|||
|
|
@ -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++;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue