make: Don't generate tags/cscope for tools/ and test/

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
cpt2: Initial commit

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
Massive update

 - can collect inotify objects
 - can convert pages and VMA (partially),
   still some flags on VMA are dangling
   and need to figure out how to deal with
   shared pages.

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
test: Add trivial 102.cpt

Where init is rather a busy loop

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
task: Start converting CoreEntry

GP registers and FPU state are covered.

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
task: Add stub for task_state

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
task: Add stubs for rest of per-task image files

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
inventory: Write kIDs from root task

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
mm: Add stub for shmem pages

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
task: Add a bunch of stubs for task images

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
task: Add file lock stub

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
convert: Add a huge number of stubs

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
some prelim

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
convert: Write dummy ids for inventory

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
kIDs workaround

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
net: Don't fail if there is no ip dump data

If we met empy file just continue execution.

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
util: Add read_fd_link helper

To fetch name of file opened from procfs.

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
protobuf: Print the image filename on error

For example

 | Error (protobuf.c:574): Unexpected EOF on /home/crtools/tools/cpt2/test/out/utsns-1.img

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
util: Use read_fd_link helper in is_anon_link_type

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
prelim

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>