[CRIU] [PATCH 1/3] debug_show_page_pipe: add PPB's pipe offset

Mike Rapoport rppt at linux.vnet.ibm.com
Thu Nov 16 14:54:05 MSK 2017


Signed-off-by: Mike Rapoport <rppt at linux.vnet.ibm.com>
---
 criu/page-pipe.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/criu/page-pipe.c b/criu/page-pipe.c
index f7d691d..f33e86a 100644
--- a/criu/page-pipe.c
+++ b/criu/page-pipe.c
@@ -428,8 +428,8 @@ void debug_show_page_pipe(struct page_pipe *pp)
 	pr_debug("* %u pipes %u/%u iovs:\n",
 			pp->nr_pipes, pp->free_iov, pp->nr_iovs);
 	list_for_each_entry(ppb, &pp->bufs, l) {
-		pr_debug("\tbuf %u pages, %u iovs, flags: %x :\n",
-			 ppb->pages_in, ppb->nr_segs, ppb->flags);
+		pr_debug("\tbuf %u pages, %u iovs, flags: %x pipe_off: %x :\n",
+			 ppb->pages_in, ppb->nr_segs, ppb->flags, ppb->pipe_off);
 		for (i = 0; i < ppb->nr_segs; i++) {
 			iov = &ppb->iov[i];
 			pr_debug("\t\t%p %lu\n", iov->iov_base,
-- 
2.7.4



More information about the CRIU mailing list