hprof-conv 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.
hprof-conv [-z] <infile> <outfile>
You can use "-" for
to specify stdin or stdout.
You can use "-z" to filter out zygote allocations shared by all applications.
Note: 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 Captures view and select Export to standard .hprof.