[all-commits] [llvm/llvm-project] ccf765: [compiler-rt][ctx_profile] Add the instrumented co...

Mircea Trofin via All-commits all-commits at lists.llvm.org
Tue May 7 15:01:37 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ccf765cfd578c4ea4f710386e19cb8d1ef1859ce
      https://github.com/llvm/llvm-project/commit/ccf765cfd578c4ea4f710386e19cb8d1ef1859ce
  Author: Mircea Trofin <mtrofin at google.com>
  Date:   2024-05-07 (Tue, 07 May 2024)

  Changed paths:
    M compiler-rt/lib/ctx_profile/CtxInstrProfiling.cpp
    M compiler-rt/lib/ctx_profile/CtxInstrProfiling.h
    M compiler-rt/lib/ctx_profile/tests/CtxInstrProfilingTest.cpp

  Log Message:
  -----------
  [compiler-rt][ctx_profile] Add the instrumented contextual profiling APIs (#89838)

APIs for contextual profiling. `ContextNode` is the call context-specific counter buffer. `ContextRoot` is associated to those functions that constitute roots into interesting call graphs, and is the object on which we hang off `Arena`s for allocating `ContextNode`s, as well as the `ContextNode` corresponding to such functions. Graphs of `ContextNode`s are accessible by one thread at a time.

(Tracking Issue: #89287, more details in the RFC referenced there)



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list