blob: 89d6a68ec1c696ac3b2c283612a186a448887601 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
page.title=HPROF Converter
parent.title=Tools
parent.link=index.html
@jd:body
<p>
The <code>hprof-conv</code> tool converts the HPROF file that is
generated by the Android SDK tools to a standard format so you
can view the file in a profiling tool of your choice. </p>
<pre> hprof-conv [-z] <infile> <outfile></pre>
<p>
You can use "-" for <code><infile></code> or <code><outfile></code>
to specify stdin or stdout.
</p>
<p>
You can use "-z" to filter out zygote allocations shared by all applications.
</p>
<p class="note"><strong>Note:</strong> Android Studio provides integrated access to this conversion
process. To convert a heap dump to standard HPROF format in Android Studio, right-click a heap
snapshot in the <em>Captures</em> view and select <strong>Export to standard .hprof</strong>. </p>
|