This is an archive of the discontinued LLVM Phabricator instance.

[InstrProf][LWI] Allow entries with duplicate probe addresses
AbandonedPublic

Authored by ellis on Aug 24 2022, 9:40 AM.

Details

Summary

It turns out that storing CounterOffsets to prevent two data entries from pointing to the same probe is not useful. This negatively impacts memory and speed without much benefit. Also, this prevent the possibility of enabling ICF for instrumented functions.

Diff Detail

Event Timeline

ellis created this revision.Aug 24 2022, 9:40 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 24 2022, 9:40 AM
Herald added a subscriber: hiraditya. · View Herald Transcript
ellis published this revision for review.Aug 24 2022, 9:45 AM
ellis edited the summary of this revision. (Show Details)
ellis added reviewers: yozhu, kyulee, wenlei.
Herald added a project: Restricted Project. · View Herald TranscriptAug 24 2022, 9:46 AM
kyulee accepted this revision.Aug 24 2022, 9:51 AM
This revision is now accepted and ready to land.Aug 24 2022, 9:51 AM
wenlei accepted this revision.Aug 24 2022, 10:15 AM
ellis abandoned this revision.Aug 24 2022, 11:13 AM

Oops, this actually breaks a test and I need to think about this more. Closing.