[all-commits] [llvm/llvm-project] da4e5f: [llvm-profgen] Deduplicate PID when processing per...

WenleiHe via All-commits all-commits at lists.llvm.org
Sun Oct 10 13:43:46 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: da4e5fc86158c669ddcb335d151fffd7c6e2ed4b
      https://github.com/llvm/llvm-project/commit/da4e5fc86158c669ddcb335d151fffd7c6e2ed4b
  Author: Wenlei He <wenlei at fb.com>
  Date:   2021-10-10 (Sun, 10 Oct 2021)

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

  Log Message:
  -----------
  [llvm-profgen] Deduplicate PID when processing perf input

When parsing mmap to retrieve PID, deduplicate them before passing PID list to perf script. Perf script would error out when there's duplicated PID in the input, however raw perf data may main duplicated PID for large binary where more than one mmap is needed to load executable segment.

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


  Commit: 9978e0e475eb707f4445699dd27bf521c21594e9
      https://github.com/llvm/llvm-project/commit/9978e0e475eb707f4445699dd27bf521c21594e9
  Author: Wenlei He <wenlei at fb.com>
  Date:   2021-10-10 (Sun, 10 Oct 2021)

  Changed paths:
    M llvm/tools/llvm-profdata/llvm-profdata.cpp

  Log Message:
  -----------
  [llvm-profdata] Allow overlap/similarity comparison to use custom hot threshold cutoff

Allow overlap/similarity comparison to use custom hot threshold cutoff, instead of using hard coded 990000 as hot cutoff.

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


Compare: https://github.com/llvm/llvm-project/compare/b07ea8a967c5...9978e0e475eb


More information about the All-commits mailing list