[PATCH] D151020: [llvm-exegesis] Add ability to assign perf counters to specific PID
    Clement Courbet via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Wed May 24 00:27:23 PDT 2023
    
    
  
courbet accepted this revision.
courbet added inline comments.
This revision is now accepted and ready to land.
================
Comment at: llvm/tools/llvm-exegesis/lib/PerfHelper.h:79
   // event: the PerfEvent to measure.
-  explicit Counter(PerfEvent &&event);
+  explicit Counter(PerfEvent &&event, pid_t ProcessPID = 0);
 
----------------
[nit] `ProcessId` (`P` already stands for "process")
Repository:
  rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D151020/new/
https://reviews.llvm.org/D151020
    
    
More information about the llvm-commits
mailing list