[CRIU] [PATCH 21/32] tools: cpt2 -- Add reading of tasks

Cyrill Gorcunov gorcunov at openvz.org
Sat Mar 30 17:42:59 EDT 2013


Here we read tasks from image and build
parent -> child relationship, as well as
figuring out how many threads are present.

(this information present differently in
 openvz image thus we have to use own pids
 hash for fast lookup)

Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
 tools/cpt2/src/Makefile       |   1 +
 tools/cpt2/src/include/task.h |  29 ++++++++
 tools/cpt2/src/task.c         | 152 ++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 182 insertions(+)
 create mode 100644 tools/cpt2/src/include/task.h
 create mode 100644 tools/cpt2/src/task.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0021-tools-cpt2-Add-reading-of-tasks.patch
Type: text/x-patch
Size: 4901 bytes
Desc: not available
URL: <http://lists.openvz.org/pipermail/criu/attachments/20130331/e9ba1b81/attachment-0001.bin>


More information about the CRIU mailing list