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

Aiden Grossman via All-commits all-commits at lists.llvm.org
Tue Jun 20 18:10:49 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5e9173c43a9b97c8614e36d6f754317f731e71e9
      https://github.com/llvm/llvm-project/commit/5e9173c43a9b97c8614e36d6f754317f731e71e9
  Author: Aiden Grossman <agrossman154 at yahoo.com>
  Date:   2023-06-21 (Wed, 21 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