[tracing] Extend memory dump API with graphs
commit2d1b2f1b007a9d4675cfc2742bf9dea74e3a2550
authorprimiano <primiano@chromium.org>
Thu, 28 May 2015 12:34:49 +0000 (28 05:34 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 28 May 2015 12:35:24 +0000 (28 12:35 +0000)
tree67843d450d4bfee3a8aa65dea81bdecf80ccdffa
parentcf3c13e6562ee31f777944bae2461bac87d6ca9f
[tracing] Extend memory dump API with graphs

This CL allows to express ownership relationships between
MemoryAllocatorDump(s). Ownership edges are the building block
to express suballocation, sharing (co-ownership) and
cross-process-sharing (the latter might require an extra CL to
introduce global nodes).
See the related bug for the design doc and concrete use cases.

BUG=492102

Review URL: https://codereview.chromium.org/1161813004

Cr-Commit-Position: refs/heads/master@{#331768}
base/trace_event/memory_allocator_dump.cc
base/trace_event/memory_allocator_dump.h
base/trace_event/memory_allocator_dump_unittest.cc
base/trace_event/process_memory_dump.cc
base/trace_event/process_memory_dump.h
base/trace_event/process_memory_dump_unittest.cc