search for: kdump_info

Displaying 2 results from an estimated 2 matches for "kdump_info".

2008 Mar 31
3
[PATCH 3/4] extract vmcoreinfo from /proc/vmcore for Xen
...-03-25 11:51:51.000000000 +0900 +++ kexec/crashdump.c 2008-03-26 09:29:20.000000000 +0900 @@ -110,10 +110,8 @@ return 0; } -/* Returns the physical address of start of crash notes buffer for a kernel. */ -int get_kernel_vmcoreinfo(uint64_t *addr, uint64_t *len) +static int get_vmcoreinfo(char *kdump_info, uint64_t *addr, uint64_t *len) { - char kdump_info[PATH_MAX]; char line[MAX_LINE]; int count; FILE *fp; @@ -122,9 +120,8 @@ *addr = 0; *len = 0; - sprintf(kdump_info, "/sys/kernel/vmcoreinfo"); if (!(fp = fopen(kdump_info, "r"))) - return 0; + return -1; if...
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