Skip to content

Commit

Permalink
proc_parse: Log smaps entry while dumping VMA.
Browse files Browse the repository at this point in the history
Help debugging problems with restoring custom VMAs.

From: Michał Cłapiński <mclapinski@google.com>
Signed-off-by: Michał Mirosław <emmir@google.com>
  • Loading branch information
osctobe committed Aug 24, 2023
1 parent 92032d0 commit e25c36b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions criu/proc_parse.c
Original file line number Diff line number Diff line change
Expand Up @@ -842,6 +842,7 @@ int parse_smaps(pid_t pid, struct vm_area_list *vma_area_list, dump_filemap_t du
goto err;
}

pr_info("Handling VMA with the following smaps entry: %s\n", str);
if (handle_vma(pid, vma_area, str + path_off, map_files_dir, &vfi, &prev_vfi, &vm_file_fd))
goto err;

Expand Down

0 comments on commit e25c36b

Please sign in to comment.