[all-commits] [llvm/llvm-project] 17f6cb: [llvm-profgen] Add process filter for perf reader

WenleiHe via All-commits all-commits at lists.llvm.org
Mon Apr 18 09:58:48 PDT 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 17f6cba30d94fa90adf2ddc647009a52e0697c2d
  Author: Wenlei He <aktoon at gmail.com>
  Date:   2022-04-18 (Mon, 18 Apr 2022)

  Changed paths:
    M llvm/tools/llvm-profgen/PerfReader.cpp
    M llvm/tools/llvm-profgen/PerfReader.h
    M llvm/tools/llvm-profgen/llvm-profgen.cpp

  Log Message:
  [llvm-profgen] Add process filter for perf reader

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.

Differential Revision: https://reviews.llvm.org/D123869

More information about the All-commits mailing list