| Index: base/trace_event/memory_dump_request_args.h
|
| diff --git a/base/trace_event/memory_dump_request_args.h b/base/trace_event/memory_dump_request_args.h
|
| index 00d560ec6ac0fc686a7a35a457248bcd3e122a3e..f78e31ce40ecedba0d90759f9c74a179aef37fa0 100644
|
| --- a/base/trace_event/memory_dump_request_args.h
|
| +++ b/base/trace_event/memory_dump_request_args.h
|
| @@ -28,13 +28,24 @@ enum class MemoryDumpType {
|
| };
|
|
|
| // Tells the MemoryDumpProvider(s) how much detailed their dumps should be.
|
| -// MemoryDumpProvider instances must guarantee that level of detail does not
|
| -// affect the total size reported in the root node, but only the granularity of
|
| -// the child MemoryAllocatorDump(s).
|
| enum class MemoryDumpLevelOfDetail {
|
| - LIGHT, // Few entries, typically a fixed number, per dump.
|
| - DETAILED, // Unrestricted amount of entries per dump.
|
| - LAST = DETAILED // For IPC Macros.
|
| + // For background tracing mode. The dump time is quick, and typically just the
|
| + // totals are expected. Suballocations need not be specified. Dump name must
|
| + // contain only pre-defined strings and string arguments cannot be added.
|
| + BACKGROUND,
|
| +
|
| + // For the levels below, MemoryDumpProvider instances must guarantee that the
|
| + // total size reported in the root node is consistent. Only the granularity of
|
| + // the child MemoryAllocatorDump(s) differs with the levels.
|
| +
|
| + // Few entries, typically a fixed number, per dump.
|
| + LIGHT,
|
| +
|
| + // Unrestricted amount of entries per dump.
|
| + DETAILED,
|
| +
|
| + // For IPC Macros.
|
| + LAST = DETAILED
|
| };
|
|
|
| // Initial request arguments for a global memory dump. (see
|
|
|