[PATCH] D36351: [lld][ELF] Add profile guided section layout

Peter Collingbourne via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 7 14:38:02 PDT 2017


pcc added a comment.

In https://reviews.llvm.org/D36351#863966, @ruiu wrote:

> > I have a local patch to AutoFDO that I use to create profiles. I can upload it somewhere if you'd like.
>
> Thanks. But the paper says that they used `perf` command to get profiling data. Why did you have to use AutoFDO?


As far as I know the missing piece is a tool that converts LBR data collected by `perf` into a weighted call graph. AutoFDO already has support for creating weighted call graphs from `perf` LBR data, so I just needed to teach it to output the graph in a different format.


Repository:
  rL LLVM

https://reviews.llvm.org/D36351





More information about the llvm-commits mailing list