[all-commits] [llvm/llvm-project] 63bb00: [ctxprof] Auto root detection: trie for stack samp...

Mircea Trofin via All-commits all-commits at lists.llvm.org
Fri Mar 28 20:08:27 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 63bb0078f824143f580225ad92464b21186f646e
      https://github.com/llvm/llvm-project/commit/63bb0078f824143f580225ad92464b21186f646e
  Author: Mircea Trofin <mtrofin at google.com>
  Date:   2025-03-28 (Fri, 28 Mar 2025)

  Changed paths:
    M compiler-rt/lib/ctx_profile/CMakeLists.txt
    A compiler-rt/lib/ctx_profile/RootAutoDetector.cpp
    A compiler-rt/lib/ctx_profile/RootAutoDetector.h
    M compiler-rt/lib/ctx_profile/tests/CMakeLists.txt
    A compiler-rt/lib/ctx_profile/tests/RootAutoDetectorTest.cpp

  Log Message:
  -----------
  [ctxprof] Auto root detection: trie for stack samples (#133106)

An initial patch for supporting automated root detection. The auto-detector is introduced subsequently, but this patch introduces a datastructure for capturing sampled stacks, per thread, in a trie, and inferring from such samples which functions are reasonable roots.



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