llvm / llvm/llvm-project

[IRPGO] instrumentation for multiple .so but one profile file generated

Open
#163,168 1 comment 0 reactions 0 assignees View on GitHub
PGO
Dominant language
LLVM
Stars
40.5k
Forks
18.7k
PR merge metrics
PR metrics pending

Description

hi,
In -fprofile-continuous mode or -fprofile-generate=libxx_%p%c, when performing IR-PGO instrumentation for multiple .so files or ELF executable binaries, only one profile file is actually generated after execution.
Does LLVM PGO instrumentation have functionality similar to llvm-bolt's -instrumentation-sleep-time=3?

Br

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the behavior with -fprofile-continuous or -fprofile-generate=libxx_%p%c across multiple .so files or ELF executables, and compare the generated profile files after execution. Read the IR-PGO instrumentation path and the llvm-bolt instrumentation-sleep-time behavior; done means determining whether separate profile files should be produced and documenting or correcting the result.

Written by the indexing model from the issue text.

Assessment

Domain
compilers
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.