git.annexia.org
/
virt-mem.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rebuild for all known kernels.
[virt-mem.git]
/
lib
/
virt_mem_capture.ml
diff --git
a/lib/virt_mem_capture.ml
b/lib/virt_mem_capture.ml
index
0c1ff57
..
dab261b
100644
(file)
--- a/
lib/virt_mem_capture.ml
+++ b/
lib/virt_mem_capture.ml
@@
-39,10
+39,9
@@
let argcheck debug =
exit 1
)
exit 1
)
-(* Capture the images before kernel symbol analysis is attempted.
- * Just save them to the output file(s).
- *)
-let rec beforeksyms debug = function
+(* Capture the image. *)
+let rec run debug kimage = ()
+(*
| [] ->
prerr_endline
(s_"virt-mem capture: warning: no kernel images were captured")
| [] ->
prerr_endline
(s_"virt-mem capture: warning: no kernel images were captured")
@@
-77,6
+76,7
@@
and save_image { domname = domname } filename =
printf (f_"virt-mem capture: wrote kernel image from %s to filename %s\n")
domname filename
printf (f_"virt-mem capture: wrote kernel image from %s to filename %s\n")
domname filename
+*)
let summary = s_"capture memory image for post-mortem analysis"
let description = s_"Capture a memory image to a file for later post-mortem
let summary = s_"capture memory image for post-mortem analysis"
let description = s_"Capture a memory image to a file for later post-mortem
@@
-92,6
+92,6
@@
let extra_args = [
let () =
Virt_mem.register
let () =
Virt_mem.register
- ~
external_cmd:false ~extra_args
- ~
argcheck ~beforeksyms
+ ~
needs_everything:true ~run
+ ~
external_cmd:false ~extra_args ~argcheck
"capture" summary description
"capture" summary description