[all-commits] [llvm/llvm-project] 6c3c90: [CSSPGO]Add a flag to limit unsymbolized context d...

Lei Wang via All-commits all-commits at lists.llvm.org
Tue Jan 7 10:30:14 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6c3c90b5a81a3c27dbc195d7e49dc4c89e0e604f
      https://github.com/llvm/llvm-project/commit/6c3c90b5a81a3c27dbc195d7e49dc4c89e0e604f
  Author: Lei Wang <wlei at fb.com>
  Date:   2025-01-07 (Tue, 07 Jan 2025)

  Changed paths:
    A llvm/test/tools/llvm-profgen/context-depth.test
    M llvm/test/tools/llvm-profgen/recursion-compression-pseudoprobe.test
    M llvm/tools/llvm-profgen/PerfReader.cpp

  Log Message:
  -----------
  [CSSPGO]Add a flag to limit unsymbolized context depth (#121531)

Adding a new flag(`--csprof-max-unsymbolized-context-depth`) to only
limit unsymbolized context depth. Currently,`--csprof-max-context-depth`
applies to both symbolized and unsymbolized profile context, there are
scenarios where `--csprof-max-context-depth` may not be flexible enough,
e.g. if we want to limit the context but still keep all the inlinings
from the leaf frame, we could set the value
csprof-max-unsymbolized-context-depth >= 1.



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