[memory-infra] Enable heap profiling in runtime

Desktop / Chromium - Greg Kraynov [chromium.org] - 9 October 2017 17:45 EDT

Introduce EnableHeapProfiling method in ClientProcess interface of memory instrumentation service and type traits.

Bug: 757747

Change-Id: I51c9b333996e9fcb9e7715769cc73c8349a7c3f9 Reviewed-on: https://chromium-review.googlesource.com/623813 Commit-Queue: Grigoriy Kraynov

3da60b7 [memory-infra] Enable heap profiling in runtime.
.../coordinator_impl_unittest.cc | 4 ++
.../memory_instrumentation/client_process_impl.cc | 7 +++
.../memory_instrumentation/client_process_impl.h | 6 +++
.../memory_instrumentation.typemap | 2 +
.../memory_instrumentation_struct_traits.cc | 54 ++++++++++++++++++++--
.../memory_instrumentation_struct_traits.h | 11 +++++
.../memory_instrumentation.mojom | 12 +++++
7 files changed, 92 insertions(+), 4 deletions(-)

Upstream: git.chromium.org


  • Share