[all-commits] [llvm/llvm-project] c87b1c: [InstrProf] Fix bug when clearing traces with samp...
Ellis Hoag via All-commits
all-commits at lists.llvm.org
Wed May 15 16:41:47 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c87b1ca4edefe3c267a20f28eaf79f6b83d36c66
https://github.com/llvm/llvm-project/commit/c87b1ca4edefe3c267a20f28eaf79f6b83d36c66
Author: Ellis Hoag <ellis.sparky.hoag at gmail.com>
Date: 2024-05-15 (Wed, 15 May 2024)
Changed paths:
M llvm/lib/ProfileData/InstrProfWriter.cpp
M llvm/test/tools/llvm-profdata/trace-limit.proftext
Log Message:
-----------
[InstrProf] Fix bug when clearing traces with samples (#92310)
The `--temporal-profile-max-trace-length=0` flag in the `llvm-profdata
merge` command is used to remove traces from a profile. There was a bug
where traces would not be cleared if the profile was already sampled.
This patch fixes that.
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