This is an archive of the discontinued LLVM Phabricator instance.

[BOLT] Add support for the latest perf tool
ClosedPublic

Authored by maksfb on Jul 20 2022, 9:46 PM.

Details

Summary

The latest perf tool can return non-empty buffer when executing
buildid-list command, even when perf.data was recorded with -B flag.
Some binaries will be listed without the ID, while others may have a
recorded ID. Allow invalid entires on the input, while checking the
valid ones for the match.

Diff Detail

Event Timeline

maksfb created this revision.Jul 20 2022, 9:46 PM
Herald added a project: Restricted Project. · View Herald TranscriptJul 20 2022, 9:46 PM
Herald added a subscriber: mgorny. · View Herald Transcript
maksfb requested review of this revision.Jul 20 2022, 9:46 PM
Herald added a project: Restricted Project. · View Herald TranscriptJul 20 2022, 9:46 PM
maksfb updated this revision to Diff 446587.Jul 21 2022, 11:29 AM

Disable perf tool lookup in the unit test.

Amir accepted this revision.Jul 21 2022, 12:43 PM
This revision is now accepted and ready to land.Jul 21 2022, 12:43 PM
This revision was automatically updated to reflect the committed changes.