[llvm-dev] How to generate the perfscript file for llvm-profgen

Lanzhiguan Huang via llvm-dev llvm-dev at lists.llvm.org
Thu Mar 4 23:31:53 PST 2021


Hi,
  I'm really interested in the new CSSPGO tool, can anyone give me some
more detailed instructions about how to generate the perfscript file it
needs, I tried to first use "perf record -e xxx -b ..." to generate a
perf.data file and then use "perf script" to dump all the text into a
perfscript file, but it seems to be different from the perfscript under the
llvm/test/tools/llvm-profgen/Inputs directory.

Lanzhiguan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20210305/951bba36/attachment-0001.html>


More information about the llvm-dev mailing list