When I try to convert HPROF file in android studio terminal to MAT format:
1) hprof-conv [-z] d:/dump.hprof d:/outfile.hprof
2) hprof-conv d:/dump.hprof d:/outfile.hprof
I have the same answer:
Usage: hprof-conf [-z] infile outfile
-z: exclude non-app heaps, such as Zygote
Specify '-' for either or both files to use stdin/stdout.
Copyright (C) 2009 The Android Open Source Project
This software is built from source code licensed under the Apache License, Version 2.0 (the "License"). You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
See the associated NOTICE file for this software for further details.
But hprof-conf command is not present in android platform tools.
What shall I do to convert file?