Hi.

makedumpfile version 1.0.9 is released.
Your opinions/comments are welcome.

Explanation of makedumpfile:
  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.

Changelog:
- Optimization of is_page_size()
  The original patch was provided by David Rientjes, Thanks.

- Fix a bug that page_size cannot be gotten from a configuration file.
  makedumpfile can get page_size from both sysconf(_SC_PAGE_SIZE) and
  a config file. And if reading a config file, makedumpfile should get
  page_size from a config file, but makedumpfile used a value of
  sysconf(_SC_PAGE_SIZE) as page_size.

You can download the latest makedumpfile(ver. 1.0.9) from the following URL.
Details of the change are written on the CVS page of the following site.
https://sourceforge.net/projects/makedumpfile/


Method of installation:
  You can compile the makedumpfile command as follows;
  1. "tar -zxvf makedumpfile-1.0.9.tar.gz"
  2. "cd makedumpfile"
  3. "make; make install"

Usage:
  makedumpfile [-c] [-E] [-d dump_level] [-x vmlinux] dump_mem dump_file

Example:
  If you want to exclude pages filled by zero, cache pages, user pages
  and free pages and to enable compression, please execute the following
  command.

  # makedumpfile -c -d 31 -x vmlinux /proc/vmcore dumpfile

Todo:
  - Dumping DISCONTIGMEM kernel

Thanks
Ken'ichi Ohmichi
_______________________________________________
fastboot mailing list
[email protected]
https://lists.osdl.org/mailman/listinfo/fastboot

Reply via email to