[llvm] r194566 - SampleProfileLoader pass. Initial setup.

Diego Novillo dnovillo at google.com
Fri Jan 10 07:25:32 PST 2014


On Thu, Jan 9, 2014 at 5:33 AM, Sevak <sevaksargsyan777 at gmail.com> wrote:
> Hi,
>
> How do you generate profile information for this pass?
> Profile information generated by perf does not have required format.
> How do you convert profile info generated by perf to required format, which
> tool do you use?

The tool I wrote is not yet available externally. Note that you do not
need to use Perf to generate the profiles. Any tool that can emit the
simple format used by the compiler will do.

For converting Perf data, you will need a parser for perf.data and an
ELF reader to match the offsets in perf.data into the loc information
inside the binary.


Diego.



More information about the llvm-commits mailing list