update doc

gh-pages
hengyunabc 3 years ago
parent 4f03db9b6c
commit 6452f440a8

Binary file not shown.

Before

Width:  |  Height:  |  Size: 511 KiB

After

Width:  |  Height:  |  Size: 312 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 176 KiB

After

Width:  |  Height:  |  Size: 58 KiB

@ -54,7 +54,7 @@ $ profiler status
```bash
$ profiler stop --format html
profiler output file: /tmp/test/arthas-output/20191125-143329.html
profiler output file: /tmp/test/arthas-output/20211207-111550.html
OK
```
@ -149,7 +149,7 @@ profiler execute 'start,framebuf=5000000'
profiler execute 'stop,file=/tmp/result.html'
```
具体的格式参考: [arguments.cpp](https://github.com/jvm-profiling-tools/async-profiler/blob/v1.8.1/src/arguments.cpp#L50)
具体的格式参考: [arguments.cpp](https://github.com/jvm-profiling-tools/async-profiler/blob/v2.5/src/arguments.cpp#L50)
### 查看所有支持的action

Binary file not shown.

Before

Width:  |  Height:  |  Size: 511 KiB

After

Width:  |  Height:  |  Size: 312 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 176 KiB

After

Width:  |  Height:  |  Size: 58 KiB

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 511 KiB

After

Width:  |  Height:  |  Size: 312 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 176 KiB

After

Width:  |  Height:  |  Size: 58 KiB

@ -54,7 +54,7 @@ By default, the result file is `html` format. You can also specify it with the `
```bash
$ profiler stop --format html
profiler output file: /tmp/test/arthas-output/20191125-143329.html
profiler output file: /tmp/test/arthas-output/20211207-111550.html
OK
```
@ -148,7 +148,7 @@ Stop sampling and save to the specified file:
profiler execute 'stop,file=/tmp/result.html'
```
Specific format reference: [arguments.cpp](https://github.com/jvm-profiling-tools/async-profiler/blob/v1.8.1/src/arguments.cpp#L50)
Specific format reference: [arguments.cpp](https://github.com/jvm-profiling-tools/async-profiler/blob/v2.5/src/arguments.cpp#L50)
### View all supported actions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 511 KiB

After

Width:  |  Height:  |  Size: 312 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 176 KiB

After

Width:  |  Height:  |  Size: 58 KiB

@ -316,7 +316,7 @@ Started [cpu] profiling</pre>
<h3>Generating html format results<a class="headerlink" href="#generating-html-format-results" title="Permalink to this headline"></a></h3>
<p>By default, the result file is <code class="docutils literal notranslate"><span class="pre">html</span></code> format. You can also specify it with the <code class="docutils literal notranslate"><span class="pre">--format</span></code> parameter:</p>
<div class="highlight-bash notranslate"><div class="highlight hljs"><pre class="bash">$ profiler stop --format html
profiler output file: /tmp/test/arthas-output/20191125-143329.html
profiler output file: /tmp/test/arthas-output/20211207-111550.html
OK</pre></div>
</div>
<p>Or use the file name name format in the <code class="docutils literal notranslate"><span class="pre">--file</span></code> parameter. For example, <code class="docutils literal notranslate"><span class="pre">--file</span> <span class="pre">/tmp/result.html</span></code>.</p>
@ -388,7 +388,7 @@ Started [cpu] profiling</pre></div>
<p>Stop sampling and save to the specified file:</p>
<div class="highlight-bash notranslate"><div class="highlight hljs"><pre class="bash">profiler execute &#x27;stop,file=/tmp/result.html&#x27;</pre></div>
</div>
<p>Specific format reference: <a class="reference external" href="https://github.com/jvm-profiling-tools/async-profiler/blob/v1.8.1/src/arguments.cpp#L50">arguments.cpp</a></p>
<p>Specific format reference: <a class="reference external" href="https://github.com/jvm-profiling-tools/async-profiler/blob/v2.5/src/arguments.cpp#L50">arguments.cpp</a></p>
</div>
<div class="section" id="view-all-supported-actions">
<h2>View all supported actions<a class="headerlink" href="#view-all-supported-actions" title="Permalink to this headline"></a></h2>

@ -320,7 +320,7 @@ Started [cpu] profiling</pre>
<h3>生成html格式结果<a class="headerlink" href="#html" title="永久链接至标题"></a></h3>
<p>默认情况下,结果文件是<code class="docutils literal notranslate"><span class="pre">html</span></code>格式,也可以用<code class="docutils literal notranslate"><span class="pre">--format</span></code>参数指定:</p>
<div class="highlight-bash notranslate"><div class="highlight hljs"><pre class="bash">$ profiler stop --format html
profiler output file: /tmp/test/arthas-output/20191125-143329.html
profiler output file: /tmp/test/arthas-output/20211207-111550.html
OK</pre></div>
</div>
<p>或者在<code class="docutils literal notranslate"><span class="pre">--file</span></code>参数里用文件名指名格式。比如<code class="docutils literal notranslate"><span class="pre">--file</span> <span class="pre">/tmp/result.html</span></code></p>
@ -392,7 +392,7 @@ Started [cpu] profiling</pre></div>
<p>停止采样,并保存到指定文件里:</p>
<div class="highlight-bash notranslate"><div class="highlight hljs"><pre class="bash">profiler execute &#x27;stop,file=/tmp/result.html&#x27;</pre></div>
</div>
<p>具体的格式参考: <a class="reference external" href="https://github.com/jvm-profiling-tools/async-profiler/blob/v1.8.1/src/arguments.cpp#L50">arguments.cpp</a></p>
<p>具体的格式参考: <a class="reference external" href="https://github.com/jvm-profiling-tools/async-profiler/blob/v2.5/src/arguments.cpp#L50">arguments.cpp</a></p>
</div>
<div class="section" id="action">
<h2>查看所有支持的action<a class="headerlink" href="#action" title="永久链接至标题"></a></h2>

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save