[PATCH] D89666: the tool being built aims to support multiple input perf data (preprocessed by perf script) as well as multiple input binary images. It should also support dynamic reload/unload shared objects by leveraging the loader snaps being built by this change

Lei Wang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Oct 18 21:39:09 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/D89666

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/LLVMBuild.txt
  llvm/tools/llvm-profgen/llvm-profgen.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D89666.298922.patch
Type: text/x-patch
Size: 18011 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201019/acfbb1a9/attachment.bin>


More information about the llvm-commits mailing list