Displaying 3 results from an estimated 3 matches for "has_vmcoreinfo".
2012 Jul 05
10
[PATCH] kexec-tools: Read always one vmcoreinfo file
..., 26 deletions(-)
diff --git a/kexec/crashdump-elf.c b/kexec/crashdump-elf.c
index 8d82db9..ec66548 100644
--- a/kexec/crashdump-elf.c
+++ b/kexec/crashdump-elf.c
@@ -40,8 +40,6 @@ int FUNC(struct kexec_info *info,
uint64_t notes_addr, notes_len;
uint64_t vmcoreinfo_addr, vmcoreinfo_len;
int has_vmcoreinfo = 0;
- uint64_t vmcoreinfo_addr_xen, vmcoreinfo_len_xen;
- int has_vmcoreinfo_xen = 0;
int (*get_note_info)(int cpu, uint64_t *addr, uint64_t *len);
if (xen_present())
@@ -53,16 +51,14 @@ int FUNC(struct kexec_info *info,
return -1;
}
- if (get_kernel_vmcoreinfo(&vmcoreinfo_addr, &...
2008 Mar 31
3
[PATCH 3/4] extract vmcoreinfo from /proc/vmcore for Xen
...etermine per cpu notes section size. */
#define MAX_NOTE_BYTES 1024
--- kexec/crashdump-elf.c.org 2008-03-25 11:57:09.000000000 +0900
+++ kexec/crashdump-elf.c 2008-03-26 13:13:52.000000000 +0900
@@ -36,6 +36,8 @@
uint64_t notes_addr, notes_len;
uint64_t vmcoreinfo_addr, vmcoreinfo_len;
int has_vmcoreinfo = 0;
+ uint64_t vmcoreinfo_addr_xen, vmcoreinfo_len_xen;
+ int has_vmcoreinfo_xen = 0;
int (*get_note_info)(int cpu, uint64_t *addr, uint64_t *len);
if (xen_present())
@@ -51,7 +53,12 @@
has_vmcoreinfo = 1;
}
- sz = sizeof(EHDR) + (nr_cpus + has_vmcoreinfo) * sizeof(PHDR) +
+ if (xen_p...
2007 Sep 28
18
[makedumpfile] extract vmcoreinfo from /proc/vmcore for Xen
Hi,
--- background ----------------------------------------------------
* what the makedumpfile is:
To shorten the size of the dumpfile and the time of creating the
dumpfile, makedumpfile copies only the necessary pages for analysis
to the dumpfile from /proc/vmcore. You can specify the kind of
unnecessary pages with dump_level. If you want to shorten the size
further, enable the