[tracing] Introduce MemoryDumpSessionState
commit2de25ee6691cef57d0f30e75aa4f88b84a34c040
authorprimiano <primiano@chromium.org>
Tue, 21 Apr 2015 06:09:08 +0000 (20 23:09 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 21 Apr 2015 06:09:12 +0000 (21 06:09 +0000)
treef6ca11e2db88ab864d3d8f0f3976ad21b02b7017
parent8d0d95b2eb92660b18b9804f3897c5fe74326006
[tracing] Introduce MemoryDumpSessionState

MemoryDumpSessionState is a container class to hold objects that need
to be shared between all the ProcessMemoryDumps for all the lifetime
of a tracing session.
A concrete use case is going to be represented by the dictionary of
allocator attributes types, that will be dumped once by the
MemoryDumpProviders into the MemoryDumpSessionState when the trace
starts and will be accessed when generating the final trace data.

BUG=466141

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

Cr-Commit-Position: refs/heads/master@{#325987}
base/trace_event/BUILD.gn
base/trace_event/memory_allocator_dump_unittest.cc
base/trace_event/memory_dump_manager.cc
base/trace_event/memory_dump_manager.h
base/trace_event/memory_dump_session_state.cc [new file with mode: 0644]
base/trace_event/memory_dump_session_state.h [new file with mode: 0644]
base/trace_event/process_memory_dump.cc
base/trace_event/process_memory_dump.h
base/trace_event/process_memory_maps_dump_provider_unittest.cc
base/trace_event/process_memory_totals_dump_provider_unittest.cc
base/trace_event/trace_event.gypi