[all-commits] [llvm/llvm-project] 48f0c8: [llvm-exegesis] Add ability to assign perf counter...

Aiden Grossman via All-commits all-commits at lists.llvm.org
Sun Jun 25 17:46:19 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 48f0c80277d15bef574c10f247b25329dfe4941d
      https://github.com/llvm/llvm-project/commit/48f0c80277d15bef574c10f247b25329dfe4941d
  Author: Aiden Grossman <agrossman154 at yahoo.com>
  Date:   2023-06-26 (Mon, 26 Jun 2023)

  Changed paths:
    M llvm/tools/llvm-exegesis/lib/PerfHelper.cpp
    M llvm/tools/llvm-exegesis/lib/PerfHelper.h
    M llvm/tools/llvm-exegesis/lib/Target.cpp
    M llvm/tools/llvm-exegesis/lib/Target.h
    M llvm/tools/llvm-exegesis/lib/X86/Target.cpp

  Log Message:
  -----------
  [llvm-exegesis] Add ability to assign perf counters to specific PID

This patch gives the ability to assign performance counters within
llvm-exegesis to a specific process by passing its PID. This is needed
later on for implementing a subprocess executor. Defaults to zero, the
current process, for the InProcessFunctionExecutorImpl.

Reviewed By: courbet

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




More information about the All-commits mailing list