• Corentin Pescheloche's avatar
    [api][profiler] Surface CpuProfiler memory in HeapCodeStatistics · 0bf11af7
    Corentin Pescheloche authored
    The goal of the PR is to add to telemetry a metric estimating the space
    occupied by the codemap retained by a CpuProfiler and its underlying
    CodeObserver.
    
    This change is motivated by the addition of kEagerLogger to CpuProfiler
    which when enabled let a CpuProfiler build a CodeMap without an active
    session. This metric will help us understand better the space consumed
    by a profiler in that scenario and will also help detect memory leaks.
    
    Bug: chromium:1241491
    Change-Id: Iadb1ed52b4c1ac70bc554942b4fa795cdf1212f3
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3224567Reviewed-by: 's avatarCamillo Bruni <cbruni@chromium.org>
    Commit-Queue: Camillo Bruni <cbruni@chromium.org>
    Auto-Submit: Corentin Pescheloche <cpescheloche@fb.com>
    Cr-Commit-Position: refs/heads/main@{#77703}
    0bf11af7
Name
Last commit
Last update
..
DIR_METADATA Loading commit data...
OWNERS Loading commit data...
allocation-tracker.cc Loading commit data...
allocation-tracker.h Loading commit data...
circular-queue-inl.h Loading commit data...
circular-queue.h Loading commit data...
cpu-profiler-inl.h Loading commit data...
cpu-profiler.cc Loading commit data...
cpu-profiler.h Loading commit data...
heap-profiler.cc Loading commit data...
heap-profiler.h Loading commit data...
heap-snapshot-generator-inl.h Loading commit data...
heap-snapshot-generator.cc Loading commit data...
heap-snapshot-generator.h Loading commit data...
profile-generator-inl.h Loading commit data...
profile-generator.cc Loading commit data...
profile-generator.h Loading commit data...
profiler-listener.cc Loading commit data...
profiler-listener.h Loading commit data...
profiler-stats.cc Loading commit data...
profiler-stats.h Loading commit data...
sampling-heap-profiler.cc Loading commit data...
sampling-heap-profiler.h Loading commit data...
strings-storage.cc Loading commit data...
strings-storage.h Loading commit data...
symbolizer.cc Loading commit data...
symbolizer.h Loading commit data...
tick-sample.cc Loading commit data...
tick-sample.h Loading commit data...
tracing-cpu-profiler.cc Loading commit data...
tracing-cpu-profiler.h Loading commit data...
weak-code-registry.cc Loading commit data...
weak-code-registry.h Loading commit data...