Cyrill Gorcunov
5e5cb3b321
test: Add test-pipe-async test
...
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2011-11-21 23:55:37 +04:00
Cyrill Gorcunov
22f8986902
teste: Add test-shmem-three-async test
...
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2011-11-21 23:45:35 +04:00
Cyrill Gorcunov
1355c7d29a
test: Update shmem more frequently
...
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2011-11-21 22:58:02 +04:00
Cyrill Gorcunov
e66efb11a1
test: Add printing header
...
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2011-11-21 22:56:12 +04:00
Cyrill Gorcunov
8650847b83
test: Add test-shmem-async test
...
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2011-11-21 22:53:18 +04:00
Cyrill Gorcunov
d2f382e729
test: Add test-rnd-from-file test
...
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2011-11-21 22:42:59 +04:00
Cyrill Gorcunov
37e73d6a1d
test: Add test-counter test
...
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2011-11-21 21:25:43 +04:00
Cyrill Gorcunov
6357ad403f
restore: Fix up message on fixing maps
...
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2011-11-21 20:38:35 +04:00
Pavel Emelyanov
985990de23
crtools: Show 6 page va-s per line in [Pages] section
...
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2011-11-21 20:33:55 +04:00
Cyrill Gorcunov
af4eb76bb0
test: Drop old tests
...
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2011-11-21 20:27:58 +04:00
Pavel Emelyanov
92a08bb25a
crtools: Show shmem dump file contents
...
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2011-11-21 20:23:22 +04:00
Cyrill Gorcunov
8b80bba789
kernel: Update patch series
...
As usually based on Linux 3.2-rc1
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2011-11-21 20:21:14 +04:00
Cyrill Gorcunov
71a5efefe2
restore: Print errors in plain numbers instead of hex encoded values
...
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2011-11-21 18:00:12 +04:00
Cyrill Gorcunov
9263320339
restore: Add write_num_n helper
...
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2011-11-21 17:52:57 +04:00
Cyrill Gorcunov
bf5ada1d61
restore: Print faulting vDSO address on error
...
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2011-11-21 17:02:00 +04:00
Cyrill Gorcunov
b38205f580
Update PR_ opcodes
...
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2011-11-21 16:47:36 +04:00
Cyrill Gorcunov
b06349fc49
prctl: Rename PR_ entries
...
Tejun Heo proposed to use more general names
unrelated to checkpoint-restore procedure.
So be it (maybe someone else will need this
entries as well).
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2011-11-21 12:54:14 +04:00
Cyrill Gorcunov
777dc994aa
types: PTRACE_SEIZE and PTRACE_INTERRUPT already defined in ptrace.h
...
On linux-3.1.1 (fc16) these constants already defined in system
ptrace.h
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2011-11-20 10:31:16 +04:00
Cyrill Gorcunov
d0eec0e271
restore: Drop self-vmas file once it's not needed
...
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2011-11-18 22:30:32 +04:00
Cyrill Gorcunov
d9aa7f021c
restore: Add mutexes via futex syscall and order threads creation
...
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2011-11-18 16:09:01 +04:00
Cyrill Gorcunov
458717473e
Update TODO so I wont forget about mutexes
...
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2011-11-17 01:05:18 +04:00
Cyrill Gorcunov
01f8f8f4d1
restore: Bring trivial locker back
...
Threads are better to be restored in serialized
way otherwise if some error happened an error
message will be screwed.
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2011-11-17 00:59:08 +04:00
Cyrill Gorcunov
a095617253
restore: Simplify sigreturn code
...
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2011-11-16 18:19:24 +04:00
Cyrill Gorcunov
11eb2ca409
Add ALIGN helper
...
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2011-11-16 18:16:12 +04:00
Cyrill Gorcunov
85506595e9
restorer: Drop futex constants
...
We don't use them yet, no need to carry.
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2011-11-15 23:05:36 +04:00
Cyrill Gorcunov
b712182308
Gather file names formats in one place
...
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2011-11-15 18:35:55 +04:00
Cyrill Gorcunov
0fd17a08cb
Bring some order in usage of VMA entries helpers
...
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2011-11-15 17:12:29 +04:00
Cyrill Gorcunov
bb15450d98
image: Drop tls_array from the image
...
We use registers set anyway
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2011-11-15 14:57:39 +04:00
Cyrill Gorcunov
bbabbe89a7
util: Use vma_entry_len helper
...
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2011-11-15 14:02:00 +04:00
Cyrill Gorcunov
35781a8c6d
util: Drop redundant vma_area->vma.status assignment
...
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2011-11-15 13:37:17 +04:00
Cyrill Gorcunov
3542220a00
util: Split long line
...
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2011-11-15 13:32:09 +04:00
Cyrill Gorcunov
929e316f5f
util: VMA area flags might exceed 4 symbols
...
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2011-11-15 13:28:56 +04:00
Cyrill Gorcunov
33ea81e606
Drop redundant pstree_item_info
...
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2011-11-15 13:19:12 +04:00
Cyrill Gorcunov
9ab6e9fe5c
crtools: Use %d format for pir_t
...
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2011-11-15 13:12:27 +04:00
Cyrill Gorcunov
4619e48574
dump: parasite -- Drop unneeded error codes
...
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2011-11-15 12:22:40 +04:00
Cyrill Gorcunov
f89f67914e
dump: parasite -- Drop unneeded sections
...
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2011-11-15 12:21:17 +04:00
Cyrill Gorcunov
72d3d2326a
dump: Drop parasite_complete_ip from parasite_ctl
...
It was used for debug only to be able to work without
task seizing. Not needed anymore.
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2011-11-15 12:15:08 +04:00
Cyrill Gorcunov
417fe5d8e1
image: Drop redundant VMA_FORCE_WRITE
...
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2011-11-15 11:57:24 +04:00
Cyrill Gorcunov
2c0e5db7eb
image: Drop redundant offsetof
...
Already in compiler.h
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2011-11-15 11:54:01 +04:00
Cyrill Gorcunov
54b1455e8a
util: Move maps buffer into routine stack
...
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2011-11-15 11:34:11 +04:00
Cyrill Gorcunov
dd4d829d61
util: Add error messages into files/dirs open helper
...
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2011-11-15 11:29:33 +04:00
Cyrill Gorcunov
1c5f981e51
cleanup: dump -- Add warning on unexpected VMA
...
Instead of simply dropping this dead code, put
a warning here, just to be on a safe side.
Reported-by: Pavel Emelyanov <xemul@parallels.com>
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2011-11-14 18:51:36 +04:00
Cyrill Gorcunov
5ae9d9feb8
cleanup: parasite - Drop PARASITE_CMD_RESTORECORE
...
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2011-11-14 18:50:20 +04:00
Cyrill Gorcunov
ce40f5d96f
restore: Fix restoration of anonymous shared vmas
...
And rename prepare_and_execute_image to
prepare_and_sigreturn which is more appropriate
name here.
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2011-11-14 17:23:23 +04:00
Cyrill Gorcunov
ba63496330
dump: Update comment
...
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2011-11-14 17:22:17 +04:00
Cyrill Gorcunov
321793cd37
test: Add pipes output into testee
...
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2011-11-14 17:20:21 +04:00
Cyrill Gorcunov
c9c2bddcb8
test: Update shared mem test
...
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2011-11-14 17:19:41 +04:00
Cyrill Gorcunov
6a26e75aba
cleanup: Drop elf references
...
We dont use Elf restore anymore, drop it.
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2011-11-13 13:07:00 +04:00
Cyrill Gorcunov
e793eb7557
cleanup: Drop unneeded sources
...
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2011-11-13 13:00:32 +04:00
Cyrill Gorcunov
3e72543422
restore: Handle process tree correctly
...
pstree file is a single one for all processes and
threads so skip non-matched entries correctly.
This brings testee test back to life.
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2011-11-13 12:57:16 +04:00