[all-commits] [llvm/llvm-project] c8fd7a: [ctxprof] Profile section for flat profiles (#129932)

Mircea Trofin via All-commits all-commits at lists.llvm.org
Thu Mar 6 21:19:20 PST 2025


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

  Changed paths:
    M llvm/include/llvm/ProfileData/PGOCtxProfReader.h
    M llvm/include/llvm/ProfileData/PGOCtxProfWriter.h
    M llvm/lib/ProfileData/PGOCtxProfReader.cpp
    M llvm/lib/ProfileData/PGOCtxProfWriter.cpp
    A llvm/test/tools/llvm-ctxprof-util/Inputs/invalid-flat.yaml
    A llvm/test/tools/llvm-ctxprof-util/Inputs/valid-ctx-only.yaml
    A llvm/test/tools/llvm-ctxprof-util/Inputs/valid-flat-first.yaml
    A llvm/test/tools/llvm-ctxprof-util/Inputs/valid-flat-only.yaml
    M llvm/test/tools/llvm-ctxprof-util/Inputs/valid.yaml
    M llvm/test/tools/llvm-ctxprof-util/llvm-ctxprof-util-negative.test
    M llvm/test/tools/llvm-ctxprof-util/llvm-ctxprof-util.test

  Log Message:
  -----------
  [ctxprof] Profile section for flat profiles (#129932)

A section for flat profiles (i.e. non-contextual). This is useful for debugging or for intentional cases where a root isn't identified.

This patch adds the reader/writer support. `compiler-rt` changes follow in a subsequent change.



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