diff options
| author | Matthew Weingarten <matt@weingarten.org> | 2024-06-26 08:37:22 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-06-26 08:37:22 -0700 |
| commit | 30b93db5476e3ae2efdaba25fb53fcc3c081da77 (patch) | |
| tree | 470b3fdc2acefeb16d837ac0f9e18fa191621b82 /lldb/source/Plugins/ScriptInterpreter/Python | |
| parent | 3e1ebd77e4e9a772e4f06f12d19c64860fb1f070 (diff) | |
| download | llvm-30b93db5476e3ae2efdaba25fb53fcc3c081da77.zip llvm-30b93db5476e3ae2efdaba25fb53fcc3c081da77.tar.gz llvm-30b93db5476e3ae2efdaba25fb53fcc3c081da77.tar.bz2 | |
[Memprof] Adds the option to collect AccessCountHistograms for memprof. (#94264)
Adds compile time flag -mllvm -memprof-histogram and runtime flag
histogram=true|false to turn Histogram collection on and off. The
-memprof-histogram flag relies on -memprof-use-callbacks=true to work.
Updates shadow mapping logic in histogram mode from having one 8 byte
counter for 64 bytes, to 1 byte for 8 bytes, capped at 255. Only
supports this granularity as of now.
Updates the RawMemprofReader and serializing MemoryInfoBlocks to binary
format, including changing to a new version of the raw binary format
from version 3 to version 4.
Updates creating MemoryInfoBlocks with and without Histograms. When two
MemoryInfoBlocks are merged, AccessCounts are summed up and the shorter
Histogram is removed.
Adds a memprof_histogram test case.
Initial commit for adding AccessCountHistograms up until RawProfile for
memprof
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python')
0 files changed, 0 insertions, 0 deletions
