tree: e1c92c9542c93813f4fb16c5058dc91d004b7c3b [path history] [tgz]
  1. BUILD.gn
  2. client_connection_manager.cc
  3. client_connection_manager.h
  4. DEPS
  5. heap_profiling_test_shim.cc
  6. heap_profiling_test_shim.h
  7. OWNERS
  8. README.md
  9. supervisor.cc
  10. supervisor.h
  11. test_driver.cc
  12. test_driver.h
components/heap_profiling/README.md

The heap profiler records heap allocations, and exports heap dumps via Chrome tracing.

The code is divided into three directories:

  • components/services/heap_profiling/ contains the core logic that records allocations.
  • components/heap_profiling/ [this directory] contains
    • Logic that hooks up processes to the heap_profiling service [depends on content/].
    • End to end tests [depends on content/].
  • chrome/browser/profiling_host/ contains:
    • Logic that hooks up UI surfaces to the heap_profiling service.
    • Logic to automatically upload heap dumps in the wild.