Displaying 3 results from an estimated 3 matches for "dump_level".
Did you mean:
  dp_level
  
2013 Nov 26
1
[PATCH 3/3] makedumpfile/xen: Fail immediately if dump level is invalid
...++-
 1 file changed, 17 insertions(+), 1 deletion(-)
diff --git a/makedumpfile.c b/makedumpfile.c
index b160cea..389efc5 100644
--- a/makedumpfile.c
+++ b/makedumpfile.c
@@ -64,6 +64,8 @@ do { \
 static void check_cyclic_buffer_overrun(void);
 static void setup_page_is_buddy(void);
 
+int get_next_dump_level(int index);
+
 void
 initialize_tables(void)
 {
@@ -2903,7 +2905,7 @@ initial(void)
 {
 	off_t offset;
 	unsigned long size;
-	int debug_info = FALSE;
+	int debug_info = FALSE, dump_level, i;
 
 #ifdef USELZO
 	if (lzo_init() == LZO_E_OK)
@@ -2926,6 +2928,20 @@ initial(void)
 #endif
 
 	if (is_xen_...
2007 May 29
0
Fw: [RFC] makedumpfile: xen extraction
...!\n");
 		goto out;
+	}
+	if (info->flag_xen) {
+		if (!info->flag_elf_dumpfile) {
+			ERRMSG("-E must be specified with -X.\n");
+			goto out;
+		}
+		if (!info->flag_vmlinux) {
+			ERRMSG("-x xen-syms must be specified with -X.\n");
+			goto out;
+		}
+		info->dump_level = DL_EXCLUDE_XEN;
+		return handle_xen(info);
 	}
 	if (info->flag_generate_config) {
 		if (!open_files_for_generating_configfile(info))
Index: makedumpfile.h
===================================================================
RCS file: /cvsroot/xen_ia64/people/oda/makedumpfile-1.1.3/makedumpfi...
2007 Sep 28
18
[makedumpfile] extract vmcoreinfo from /proc/vmcore for Xen
...--------------------------------------------
* 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 compression of the page data.
* Xen extraction 
  makedumpfile also has a feature that extracting the part of
  xen hypervisor and domain-0 from /proc/vmcore taken under xen
  environment. In most cases under xen environment, it is enough to...