[PATCH] D139496: [CMake] Add perf profiling for clang-bolt

Amir Ayupov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Dec 10 10:58:54 PST 2022


Amir added a comment.

In D139496#3986435 <https://reviews.llvm.org/D139496#3986435>, @phosek wrote:

> Could we add the `perf` related logic to https://github.com/llvm/llvm-project/blob/ba3d808feedaa7f31750d8bc02754e15b372c868/clang/utils/perf-training/perf-helper.py? I think that's a better place since we eventually want to replace the use of `ExternalProject_Add` with https://github.com/llvm/llvm-project/tree/main/clang/utils/perf-training so we should try to keep the amount of logic in CMake down to minimum.

Sure! I didn't realize perf-helper had dtrace functionality in place. Adding Linux perf functions would be logical.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D139496/new/

https://reviews.llvm.org/D139496



More information about the llvm-commits mailing list