[PATCH] D123869: [llvm-profgen] Add process filter for perf reader

Wenlei He via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 15 12:32:09 PDT 2022


wenlei created this revision.
wenlei added reviewers: hoy, wlei.
Herald added a subscriber: modimo.
Herald added a project: All.
wenlei requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

For profile generation, we need to filter raw perf samples for binary of interest. Sometimes binary name along isn't enough as we can have binary of the same name running in the system. This change adds a process id filter to allow users to further disambiguiate the input raw samples.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D123869

Files:
  llvm/tools/llvm-profgen/PerfReader.cpp
  llvm/tools/llvm-profgen/PerfReader.h
  llvm/tools/llvm-profgen/llvm-profgen.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D123869.423152.patch
Type: text/x-patch
Size: 6990 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220415/32833e69/attachment.bin>


More information about the llvm-commits mailing list