Patch5: makedumpfile_5_generate_config_file.patch
  Add interface to acquire structure member offset and structure size
 information from a small configuration file instead of from vmlinux.

Usage:
  makedumpfile [-c|-E] [-d dump_level] [-g config_file]|[-i config_file]
  [-x vmlinux] [map_file] dump_mem dump_file

  Making dump_file with vmlinux and map_file:
    makedumpfile [-c|-E] [-d dump_level] -x vmlinux map_file dump_mem dump_file

  Making dump_file with config_file:
    makedumpfile [-c|-E] [-d dump_level] -i config_file dump_mem dump_file

  Generating config_file:
    makedumpfile -g config_file -x vmlinux map_file

Available options:
  [-c]:
      This option enables the compression function of each page.
      You can not specify this opiton with [-E].
      This is only for crash. [dump_mem] and [dump_file] must be specified.

  [-E]:
      Create the ELF dump file.
      You can not specify this opiton with [-c].
      This is only for gdb. [dump_mem] and [dump_file] must be specified.

  [-d dump_level]:
      This is specification of the skipped pages.
      The page type marked in the following table is skipped.

      dump  |  zero   cache   cache    user
      level |  page   page    private  data
     ---------------------------------------
         0  |
         1  |  X
         2  |         X
         4  |         X       X
         8  |                          X
        15  |  X      X       X        X

      [-i config_file] or ([-x vmlinux] and [map_file]) must be specified,
      when dump_level is two or more.
      [dump_mem] and [dump_file] must be specified.

  [-g config_file]:
      Generate the configuration file. Debugging information
      necessary for executing a partial dump is output to this file. A partial
      dump can be executed even if the output this file is read by -i option,
      and there is no kernel file with debugging information. When this option
      is specified, the dump is not output. [-x vmlinux] and [map_file] must
      be specified.

  [-i config_file]:
      Read the configuration file. This file is the one
      output beforehand by specifying -g option, and debugging information
      necessary for executing a partial dump is contained. A partial dump can
      be executed even if this file is read, and there is no kernel file with
      debugging information. When this option is specified, -g option,
      [-x vmlinux], and [map_file] cannot be specified.
      Note:
      When this file is not specified, this command uses the page size of
      the system under operation(Capture kernel) as the one of dump_mem
      (First-kernel).

  [-x vmlinux]:
      This is a pathname to the first-kernel's vmlinux file compiled with
      -g option.
      This is necessary when dump_level is 2 or more and [-i config_file] is
      not specified.

  [map_file]:
      This is a pathname to a System.map file of first-kernel.
      This is necessary when dump_level is 2 or more and [-i config_file]
      is not specified. [-x vmlinux] must be specified.

  dump_mem:
      This is a pathname to a first-kernel memory core image.
      This argument is generally /proc/vmcore.

  dump_file:
      This is a pathname to a filename created by this command.

Thanks
tachibana


Attachment: makedumpfile_5_generate_config_file.patch
Description: Binary data

_______________________________________________
fastboot mailing list
[email protected]
https://lists.osdl.org/mailman/listinfo/fastboot

Reply via email to