mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-30 13:58:34 +00:00
restore: Add debug info on premapped VMA address
| Map 0x0000000000400000-0x00000000004a5000 0x0000000000000000 vma | premap 0x0000000000400000-0x00000000004a5000 -> 00007f26eb898000 Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org> Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
parent
6140f67326
commit
f81d009af8
@ -251,6 +251,8 @@ static int map_private_vma(pid_t pid, struct vma_area *vma, void *tgt_addr,
|
||||
}
|
||||
|
||||
vma_premmaped_start(&(vma->vma)) = (unsigned long) addr;
|
||||
pr_debug("\tpremap 0x%016"PRIx64"-0x%016"PRIx64" -> %016lx\n",
|
||||
vma->vma.start, vma->vma.end, (unsigned long)addr);
|
||||
|
||||
if (vma_entry_is(&vma->vma, VMA_FILE_PRIVATE))
|
||||
close(vma->vma.fd);
|
||||
|
Loading…
x
Reference in New Issue
Block a user