Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

116 lines
4.7KB

  1. <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  2. <html>
  3. <!-- This file documents the gprof profiler of the GNU system.
  4. Copyright (C) 1988-2020 Free Software Foundation, Inc.
  5. Permission is granted to copy, distribute and/or modify this document
  6. under the terms of the GNU Free Documentation License, Version 1.3
  7. or any later version published by the Free Software Foundation;
  8. with no Invariant Sections, with no Front-Cover Texts, and with no
  9. Back-Cover Texts. A copy of the license is included in the
  10. section entitled "GNU Free Documentation License".
  11. -->
  12. <!-- Created by GNU Texinfo 6.5, http://www.gnu.org/software/texinfo/ -->
  13. <head>
  14. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  15. <title>Miscellaneous Options (GNU gprof)</title>
  16. <meta name="description" content="Miscellaneous Options (GNU gprof)">
  17. <meta name="keywords" content="Miscellaneous Options (GNU gprof)">
  18. <meta name="resource-type" content="document">
  19. <meta name="distribution" content="global">
  20. <meta name="Generator" content="makeinfo">
  21. <link href="index.html#Top" rel="start" title="Top">
  22. <link href="index.html#SEC_Contents" rel="contents" title="Table of Contents">
  23. <link href="Invoking.html#Invoking" rel="up" title="Invoking">
  24. <link href="Deprecated-Options.html#Deprecated-Options" rel="next" title="Deprecated Options">
  25. <link href="Analysis-Options.html#Analysis-Options" rel="prev" title="Analysis Options">
  26. <style type="text/css">
  27. <!--
  28. a.summary-letter {text-decoration: none}
  29. blockquote.indentedblock {margin-right: 0em}
  30. blockquote.smallindentedblock {margin-right: 0em; font-size: smaller}
  31. blockquote.smallquotation {font-size: smaller}
  32. div.display {margin-left: 3.2em}
  33. div.example {margin-left: 3.2em}
  34. div.lisp {margin-left: 3.2em}
  35. div.smalldisplay {margin-left: 3.2em}
  36. div.smallexample {margin-left: 3.2em}
  37. div.smalllisp {margin-left: 3.2em}
  38. kbd {font-style: oblique}
  39. pre.display {font-family: inherit}
  40. pre.format {font-family: inherit}
  41. pre.menu-comment {font-family: serif}
  42. pre.menu-preformatted {font-family: serif}
  43. pre.smalldisplay {font-family: inherit; font-size: smaller}
  44. pre.smallexample {font-size: smaller}
  45. pre.smallformat {font-family: inherit; font-size: smaller}
  46. pre.smalllisp {font-size: smaller}
  47. span.nolinebreak {white-space: nowrap}
  48. span.roman {font-family: initial; font-weight: normal}
  49. span.sansserif {font-family: sans-serif; font-weight: normal}
  50. ul.no-bullet {list-style: none}
  51. -->
  52. </style>
  53. </head>
  54. <body lang="en">
  55. <a name="Miscellaneous-Options"></a>
  56. <div class="header">
  57. <p>
  58. Next: <a href="Deprecated-Options.html#Deprecated-Options" accesskey="n" rel="next">Deprecated Options</a>, Previous: <a href="Analysis-Options.html#Analysis-Options" accesskey="p" rel="prev">Analysis Options</a>, Up: <a href="Invoking.html#Invoking" accesskey="u" rel="up">Invoking</a> &nbsp; [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>]</p>
  59. </div>
  60. <hr>
  61. <a name="Miscellaneous-Options-1"></a>
  62. <h3 class="section">4.3 Miscellaneous Options</h3>
  63. <dl compact="compact">
  64. <dt><code>-d[<var>num</var>]</code></dt>
  65. <dt><code>--debug[=<var>num</var>]</code></dt>
  66. <dd><p>The &lsquo;<samp>-d <var>num</var></samp>&rsquo; option specifies debugging options.
  67. If <var>num</var> is not specified, enable all debugging.
  68. See <a href="Debugging.html#Debugging">Debugging <code>gprof</code></a>.
  69. </p>
  70. </dd>
  71. <dt><code>-h</code></dt>
  72. <dt><code>--help</code></dt>
  73. <dd><p>The &lsquo;<samp>-h</samp>&rsquo; option prints command line usage.
  74. </p>
  75. </dd>
  76. <dt><code>-O<var>name</var></code></dt>
  77. <dt><code>--file-format=<var>name</var></code></dt>
  78. <dd><p>Selects the format of the profile data files. Recognized formats are
  79. &lsquo;<samp>auto</samp>&rsquo; (the default), &lsquo;<samp>bsd</samp>&rsquo;, &lsquo;<samp>4.4bsd</samp>&rsquo;, &lsquo;<samp>magic</samp>&rsquo;, and
  80. &lsquo;<samp>prof</samp>&rsquo; (not yet supported).
  81. </p>
  82. </dd>
  83. <dt><code>-s</code></dt>
  84. <dt><code>--sum</code></dt>
  85. <dd><p>The &lsquo;<samp>-s</samp>&rsquo; option causes <code>gprof</code> to summarize the information
  86. in the profile data files it read in, and write out a profile data
  87. file called <samp>gmon.sum</samp>, which contains all the information from
  88. the profile data files that <code>gprof</code> read in. The file <samp>gmon.sum</samp>
  89. may be one of the specified input files; the effect of this is to
  90. merge the data in the other input files into <samp>gmon.sum</samp>.
  91. </p>
  92. <p>Eventually you can run <code>gprof</code> again without &lsquo;<samp>-s</samp>&rsquo; to analyze the
  93. cumulative data in the file <samp>gmon.sum</samp>.
  94. </p>
  95. </dd>
  96. <dt><code>-v</code></dt>
  97. <dt><code>--version</code></dt>
  98. <dd><p>The &lsquo;<samp>-v</samp>&rsquo; flag causes <code>gprof</code> to print the current version
  99. number, and then exit.
  100. </p>
  101. </dd>
  102. </dl>
  103. </body>
  104. </html>