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