| Index: tools/deep_memory_profiler/policy.l1.json
|
| diff --git a/tools/deep_memory_profiler/policy.l1.json b/tools/deep_memory_profiler/policy.l1.json
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..f300b90677c1dd777733ffd2d66e3653486a5ca5
|
| --- /dev/null
|
| +++ b/tools/deep_memory_profiler/policy.l1.json
|
| @@ -0,0 +1,197 @@
|
| +{
|
| + "components": [
|
| + "second",
|
| + "mmap-profiler",
|
| + "mmap-allocated-type",
|
| + "mmap-tcmalloc",
|
| + "FROM_HERE_FOR_TOTAL",
|
| + "mustbezero",
|
| + "nonprofiled-absent",
|
| + "nonprofiled-anonymous",
|
| + "nonprofiled-file-exec",
|
| + "nonprofiled-file-nonexec",
|
| + "nonprofiled-stack",
|
| + "nonprofiled-other",
|
| + "no-bucket",
|
| + "mmap-v8-heap-newspace",
|
| + "mmap-v8-heap-coderange",
|
| + "mmap-v8-heap-pagedspace",
|
| + "mmap-v8-other",
|
| + "mmap-catch-all",
|
| + "tc-v8",
|
| + "tc-skia",
|
| + "tc-webkit-catch-all",
|
| + "tc-unknown-string",
|
| + "tc-catch-all",
|
| + "tc-unused",
|
| + "UNTIL_HERE_FOR_TOTAL",
|
| + "total-exclude-profiler",
|
| + "total",
|
| + "anonymous",
|
| + "file-exec",
|
| + "file-nonexec",
|
| + "stack",
|
| + "other",
|
| + "mmap-total-log",
|
| + "mmap-no-log",
|
| + "mmap-total-record",
|
| + "other-total-log",
|
| + "tc-total-log",
|
| + "tc-no-log",
|
| + "tc-total-record",
|
| + "tc-total"
|
| + ],
|
| + "rules": [
|
| + {
|
| + "name": "second",
|
| + "stacktrace": "optional",
|
| + "allocator": "optional"
|
| + },
|
| + {
|
| + "name": "mmap-profiler",
|
| + "stacktrace": ".*(ProfilerMalloc|MemoryRegionMap::).*",
|
| + "allocator": "mmap"
|
| + },
|
| + {
|
| + "name": "mmap-allocated-type",
|
| + "stacktrace": ".*(AllocatedTypeMalloc).*",
|
| + "allocator": "mmap"
|
| + },
|
| + {
|
| + "name": "mmap-tcmalloc",
|
| + "stacktrace": ".*(DoAllocWithArena|SbrkSysAllocator::Alloc|MmapSysAllocator::Alloc|LowLevelAlloc::Alloc|LowLevelAlloc::AllocWithArena).*",
|
| + "allocator": "mmap"
|
| + },
|
| + {
|
| + "name": "FROM_HERE_FOR_TOTAL",
|
| + "stacktrace": "optional",
|
| + "allocator": "optional"
|
| + },
|
| + {
|
| + "name": "mustbezero",
|
| + "stacktrace": "optional",
|
| + "allocator": "optional"
|
| + },
|
| + {
|
| + "name": "nonprofiled-absent",
|
| + "stacktrace": "optional",
|
| + "allocator": "optional"
|
| + },
|
| + {
|
| + "name": "nonprofiled-anonymous",
|
| + "stacktrace": "optional",
|
| + "allocator": "optional"
|
| + },
|
| + {
|
| + "name": "nonprofiled-file-exec",
|
| + "stacktrace": "optional",
|
| + "allocator": "optional"
|
| + },
|
| + {
|
| + "name": "nonprofiled-file-nonexec",
|
| + "stacktrace": "optional",
|
| + "allocator": "optional"
|
| + },
|
| + {
|
| + "name": "nonprofiled-stack",
|
| + "stacktrace": "optional",
|
| + "allocator": "optional"
|
| + },
|
| + {
|
| + "name": "nonprofiled-other",
|
| + "stacktrace": "optional",
|
| + "allocator": "optional"
|
| + },
|
| + {
|
| + "name": "mmap-v8-heap-newspace",
|
| + "stacktrace": ".*v8::internal::NewSpace::SetUp.*",
|
| + "allocator": "mmap"
|
| + },
|
| + {
|
| + "name": "mmap-v8-heap-coderange",
|
| + "stacktrace": ".*v8::internal::CodeRange::SetUp.*",
|
| + "allocator": "mmap"
|
| + },
|
| + {
|
| + "name": "mmap-v8-heap-pagedspace",
|
| + "stacktrace": ".*v8::internal::PagedSpace::AllocateRaw.*",
|
| + "allocator": "mmap"
|
| + },
|
| + {
|
| + "name": "mmap-v8-other",
|
| + "stacktrace": ".*v8::.*",
|
| + "allocator": "mmap"
|
| + },
|
| + {
|
| + "name": "mmap-catch-all",
|
| + "stacktrace": ".*",
|
| + "allocator": "mmap"
|
| + },
|
| + {
|
| + "name": "tc-v8",
|
| + "stacktrace": ".*v8::.*",
|
| + "allocator": "malloc"
|
| + },
|
| + {
|
| + "name": "tc-skia",
|
| + "stacktrace": ".*Sk[A-Za-z_]+::.*",
|
| + "allocator": "malloc"
|
| + },
|
| + {
|
| + "name": "tc-webkit-catch-all",
|
| + "stacktrace": ".*(WTF::|WebCore::|WebKit::).*",
|
| + "allocator": "malloc"
|
| + },
|
| + {
|
| + "name": "tc-unknown-string",
|
| + "stacktrace": ".*std::basic_string::_Rep::_S_create.*",
|
| + "allocator": "malloc"
|
| + },
|
| + {
|
| + "name": "tc-catch-all",
|
| + "stacktrace": ".*",
|
| + "allocator": "malloc"
|
| + },
|
| + {
|
| + "name": "UNTIL_HERE_FOR_TOTAL",
|
| + "stacktrace": "optional",
|
| + "allocator": "optional"
|
| + },
|
| + {
|
| + "name": "total-exclude-profiler",
|
| + "stacktrace": "optional",
|
| + "allocator": "optional"
|
| + },
|
| + {
|
| + "name": "total",
|
| + "stacktrace": "optional",
|
| + "allocator": "optional"
|
| + },
|
| + {
|
| + "name": "anonymous",
|
| + "stacktrace": "optional",
|
| + "allocator": "optional"
|
| + },
|
| + {
|
| + "name": "file-exec",
|
| + "stacktrace": "optional",
|
| + "allocator": "optional"
|
| + },
|
| + {
|
| + "name": "file-nonexec",
|
| + "stacktrace": "optional",
|
| + "allocator": "optional"
|
| + },
|
| + {
|
| + "name": "stack",
|
| + "stacktrace": "optional",
|
| + "allocator": "optional"
|
| + },
|
| + {
|
| + "name": "other",
|
| + "stacktrace": "optional",
|
| + "allocator": "optional"
|
| + }
|
| + ],
|
| + "version": "POLICY_DEEP_3"
|
| +}
|
|
|