Commit fb44c9d8 authored by Pavel Emelyanov's avatar Pavel Emelyanov Committed by Cyrill Gorcunov

crtools: Don't hold pid on vma image

It's pointless. All vmas are stored in the per-pid image file.
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
Signed-off-by: 's avatarCyrill Gorcunov <gorcunov@gmail.com>
parent 64f867f5
......@@ -57,7 +57,6 @@ struct vma_entry {
u32 prot;
u32 flags;
u32 status;
u32 pid;
s64 fd;
u64 ino;
u32 dev_maj;
......
......@@ -176,14 +176,13 @@ void printk_vma(struct vma_area *vma_area)
return;
printk("s: %16lx e: %16lx l: %4liK p: %8x f: %8x pg: %8lx "
"fd: %4d pid: %4d dev:%02x:%02x:%08lx vf: %s st: %s spc: %s\n",
"fd: %4d dev:%02x:%02x:%08lx vf: %s st: %s spc: %s\n",
vma_area->vma.start, vma_area->vma.end,
vma_area_len(vma_area) >> 10,
vma_area->vma.prot,
vma_area->vma.flags,
vma_area->vma.pgoff,
vma_area->vma.fd,
vma_area->vma.pid,
vma_area->vma.dev_maj,
vma_area->vma.dev_min,
vma_area->vma.ino,
......@@ -304,7 +303,6 @@ int parse_maps(pid_t pid, struct list_head *vma_area_list, bool use_map_files)
}
}
vma_area->vma.pid = pid;
vma_area->vma.start = start;
vma_area->vma.end = end;
vma_area->vma.pgoff = pgoff;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment