gprof: Miscellaneous Options

1 
1 4.3 Miscellaneous Options
1 =========================
1 
1 '-d[NUM]'
1 '--debug[=NUM]'
1      The '-d NUM' option specifies debugging options.  If NUM is not
11      specified, enable all debugging.  ⇒Debugging 'gprof'
      Debugging.
1 
1 '-h'
1 '--help'
1      The '-h' option prints command line usage.
1 
1 '-ONAME'
1 '--file-format=NAME'
1      Selects the format of the profile data files.  Recognized formats
1      are 'auto' (the default), 'bsd', '4.4bsd', 'magic', and 'prof' (not
1      yet supported).
1 
1 '-s'
1 '--sum'
1      The '-s' option causes 'gprof' to summarize the information in the
1      profile data files it read in, and write out a profile data file
1      called 'gmon.sum', which contains all the information from the
1      profile data files that 'gprof' read in.  The file 'gmon.sum' may
1      be one of the specified input files; the effect of this is to merge
1      the data in the other input files into 'gmon.sum'.
1 
1      Eventually you can run 'gprof' again without '-s' to analyze the
1      cumulative data in the file 'gmon.sum'.
1 
1 '-v'
1 '--version'
1      The '-v' flag causes 'gprof' to print the current version number,
1      and then exit.
1