Cyrill Gorcunov
4389c021fc
dump, kernel: Add some mm structure members into the dump
...
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2011-10-12 18:05:07 +04:00
Cyrill Gorcunov
ce65f2f718
dump, kernel: Add start/end_code data
...
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2011-10-12 16:02:36 +04:00
Cyrill Gorcunov
f7e6e63b44
kernel, dump: Obtain brk value
...
Also re-make image to be 2 pages in size
which should be enough for basic params we
need to restore tasks.
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2011-10-12 09:40:02 +04:00
Cyrill Gorcunov
ec9496c147
image: Use CKPT_ARCH_SIZE
...
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2011-10-11 10:10:07 +04:00
Cyrill Gorcunov
4b7a318322
dump: Prepare for new core_entry layout
...
core_entry layout is arch dependant.
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2011-10-11 01:32:39 +04:00
Cyrill Gorcunov
99466eb328
dump: Add dumping a tasks's flags
...
We need it to figure out if FPU was used
so that we need to restore context later.
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2011-10-10 17:05:12 +04:00
Cyrill Gorcunov
609e431376
Add cr_options structure
...
We will need more options since the
tool should support both cgroups freezer
and a regular task stop/dump/restore/continue
transition.
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2011-10-04 01:50:19 +04:00
Cyrill Gorcunov
f170895975
dump: Allow parasite-dumper to write pages with non-privileged process
...
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2011-10-03 11:52:13 +04:00
Cyrill Gorcunov
8f0af4f8a6
Restore task's command line as well
...
Note binary format for core file is changed.
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2011-10-01 13:24:34 +04:00
Cyrill Gorcunov
a00ef142f8
Use pr_err for error printing
...
To follow kernel style
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2011-09-30 14:37:12 +04:00
Cyrill Gorcunov
401464d22a
Add close_safe helper
...
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2011-09-27 18:28:09 +04:00
Cyrill Gorcunov
30f002d21c
Add comments on VMA area status flags
...
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2011-09-26 01:26:11 +04:00
Cyrill Gorcunov
523de23624
Initial commit
...
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2011-09-23 12:00:45 +04:00