[PATCH] D89707: [AutoFDO][llvm-profgen] Parse mmap events from perf script

Lei Wang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 19 09:06:18 PDT 2020


wlei created this revision.
Herald added subscribers: llvm-commits, wenlei, mgorny.
Herald added a project: LLVM.
wlei requested review of this revision.

As a starter of moving our counts processing tool into LLVM, this change sets up an entry point. It parses the mmap2 events from perf data to build the loader snaps, which is used to retrieve the image load address in the subsequent perf tracing parsing.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D89707

Files:
  llvm/docs/CommandGuide/llvm-profgen.rst
  llvm/test/tools/llvm-profgen/lit.local.cfg
  llvm/test/tools/llvm-profgen/mmapEvent.test
  llvm/tools/llvm-profgen/CMakeLists.txt
  llvm/tools/llvm-profgen/ErrorHandling.h
  llvm/tools/llvm-profgen/LLVMBuild.txt
  llvm/tools/llvm-profgen/llvm-profgen.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D89707.299075.patch
Type: text/x-patch
Size: 15759 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201019/5cdf20f1/attachment.bin>


More information about the llvm-commits mailing list