Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[memprof] Add a raw binary format to serialize memprof profiles.
This change implements the raw binary format discussed in https://lists.llvm.org/pipermail/llvm-dev/2021-September/153007.html Summary of changes * Add a new memprof option to choose binary or text (default) format. * Add a rawprofile library which serializes the MIB map to profile. * Add a unit test for rawprofile. * Mark sanitizer procmaps methods as virtual to be able to mock them. * Extend memprof_profile_dump regression test. Differential Revision: https://reviews.llvm.org/D113317
- Loading branch information
Showing
10 changed files
with
607 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.