[all-commits] [llvm/llvm-project] bb3915: [MemProf] Support for random hotness when writing ...

Teresa Johnson via All-commits all-commits at lists.llvm.org
Tue Oct 29 22:10:55 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bb3915149a7c9b1660db9caebfc96343352e8454
      https://github.com/llvm/llvm-project/commit/bb3915149a7c9b1660db9caebfc96343352e8454
  Author: Teresa Johnson <tejohnson at google.com>
  Date:   2024-10-29 (Tue, 29 Oct 2024)

  Changed paths:
    M llvm/include/llvm/ProfileData/InstrProfWriter.h
    M llvm/include/llvm/ProfileData/MemProf.h
    M llvm/lib/ProfileData/InstrProfWriter.cpp
    M llvm/test/Transforms/PGOProfile/memprof.ll
    M llvm/tools/llvm-profdata/llvm-profdata.cpp

  Log Message:
  -----------
  [MemProf] Support for random hotness when writing profile (#113998)

Add support for generating random hotness in the memprof profile writer,
to be used for testing. The random seed is printed to stderr, and an
additional option enables providing a specific seed in order to
reproduce a particular random profile.



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