| Index: tools/deep_memory_profiler/policy.l2.json
|
| diff --git a/tools/deep_memory_profiler/policy.l2.json b/tools/deep_memory_profiler/policy.l2.json
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..6ffa60f7e5a606b171a2eea5873697c1fd5c4347
|
| --- /dev/null
|
| +++ b/tools/deep_memory_profiler/policy.l2.json
|
| @@ -0,0 +1,445 @@
|
| +{
|
| + "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-webcore-fontcache",
|
| + "tc-skia",
|
| + "tc-renderobject",
|
| + "tc-renderstyle",
|
| + "tc-webcore-sharedbuf",
|
| + "tc-webcore-XHRcreate",
|
| + "tc-webcore-XHRreceived",
|
| + "tc-webcore-docwriter-add",
|
| + "tc-webcore-node-and-doc",
|
| + "tc-webcore-node-factory",
|
| + "tc-webcore-element-wrapper",
|
| + "tc-webcore-stylepropertyset",
|
| + "tc-webcore-style-createsheet",
|
| + "tc-webcore-cachedresource",
|
| + "tc-webcore-script-execute",
|
| + "tc-webcore-events-related",
|
| + "tc-webcore-document-write",
|
| + "tc-webcore-node-create-renderer",
|
| + "tc-webcore-render-catch-all",
|
| + "tc-webcore-setInnerHTML-except-node",
|
| + "tc-wtf-StringImpl-user-catch-all",
|
| + "tc-wtf-HashTable-user-catch-all",
|
| + "tc-webcore-everything-create",
|
| + "tc-webkit-from-v8-catch-all",
|
| + "tc-webkit-catch-all",
|
| + "tc-v8-catch-all",
|
| + "tc-toplevel-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-webcore-fontcache",
|
| + "stacktrace": ".*WebCore::FontCache::getCachedFontData.*",
|
| + "allocator": "malloc"
|
| + },
|
| + {
|
| + "name": "tc-skia",
|
| + "stacktrace": ".* Sk[A-Za-z_]+::.*",
|
| + "allocator": "malloc"
|
| + },
|
| + {
|
| + "name": "tc-renderobject",
|
| + "stacktrace": ".*WebCore::RenderArena::allocate.*",
|
| + "allocator": "malloc"
|
| + },
|
| + {
|
| + "name": "tc-renderstyle",
|
| + "stacktrace": ".*WebCore::RenderStyle::create.*",
|
| + "allocator": "malloc"
|
| + },
|
| + {
|
| + "name": "tc-renderstyle",
|
| + "stacktrace": ".*WebCore::RenderStyle::clone.*",
|
| + "allocator": "malloc"
|
| + },
|
| + {
|
| + "name": "tc-webcore-sharedbuf",
|
| + "stacktrace": ".*WebCore::SharedBuffer::create.*",
|
| + "allocator": "malloc"
|
| + },
|
| + {
|
| + "name": "tc-webcore-sharedbuf",
|
| + "stacktrace": ".*WebCore::SharedBuffer::buffer.*",
|
| + "allocator": "malloc"
|
| + },
|
| + {
|
| + "name": "tc-webcore-sharedbuf",
|
| + "stacktrace": ".*WebCore::SharedBuffer::append.*",
|
| + "allocator": "malloc"
|
| + },
|
| + {
|
| + "name": "tc-webcore-XHRcreate",
|
| + "stacktrace": ".*WebCore::XMLHttpRequest::create .*",
|
| + "allocator": "malloc"
|
| + },
|
| + {
|
| + "name": "tc-webcore-XHRreceived",
|
| + "stacktrace": ".*WebCore::XMLHttpRequest::didReceiveData.*",
|
| + "allocator": "malloc"
|
| + },
|
| + {
|
| + "name": "tc-webcore-docwriter-add",
|
| + "stacktrace": ".*WebCore::DocumentWriter::addData.*",
|
| + "allocator": "malloc"
|
| + },
|
| + {
|
| + "name": "tc-webcore-node-and-doc",
|
| + "stacktrace": ".*WebCore::HTML[a-zA-Z0-9_]*Element::create .*",
|
| + "allocator": "malloc"
|
| + },
|
| + {
|
| + "name": "tc-webcore-node-and-doc",
|
| + "stacktrace": ".*WebCore::Text::create .*",
|
| + "allocator": "malloc"
|
| + },
|
| + {
|
| + "name": "tc-webcore-node-and-doc",
|
| + "stacktrace": ".*WebCore::Comment::create .*",
|
| + "allocator": "malloc"
|
| + },
|
| + {
|
| + "name": "tc-webcore-node-and-doc",
|
| + "stacktrace": ".*WebCore::HTMLDocument::create .*",
|
| + "allocator": "malloc"
|
| + },
|
| + {
|
| + "name": "tc-webcore-node-and-doc",
|
| + "stacktrace": ".*WebCore::CSSStyleRule::create .*",
|
| + "allocator": "malloc"
|
| + },
|
| + {
|
| + "name": "tc-webcore-node-and-doc",
|
| + "stacktrace": ".*WebCore::Attribute::create .*",
|
| + "allocator": "malloc"
|
| + },
|
| + {
|
| + "name": "tc-webcore-node-and-doc",
|
| + "stacktrace": ".*WebCore::DOMWindow::create .*",
|
| + "allocator": "malloc"
|
| + },
|
| + {
|
| + "name": "tc-webcore-node-factory",
|
| + "stacktrace": ".*WebCore::HTML[a-zA-Z0-9_]*Factory::create[a-zA-Z0-9_]*Element.*",
|
| + "allocator": "malloc"
|
| + },
|
| + {
|
| + "name": "tc-webcore-element-wrapper",
|
| + "stacktrace": ".*WebCore::createHTML[a-zA-Z0-9_]*ElementWrapper.*",
|
| + "allocator": "malloc"
|
| + },
|
| + {
|
| + "name": "tc-webcore-stylepropertyset",
|
| + "stacktrace": ".*WebCore::StylePropertySet::create .*",
|
| + "allocator": "malloc"
|
| + },
|
| + {
|
| + "name": "tc-webcore-style-createsheet",
|
| + "stacktrace": ".*WebCore::StyleElement::createSheet.*",
|
| + "allocator": "malloc"
|
| + },
|
| + {
|
| + "name": "tc-webcore-cachedresource",
|
| + "stacktrace": ".*WebCore::CachedResource::data .*",
|
| + "allocator": "malloc"
|
| + },
|
| + {
|
| + "name": "tc-webcore-cachedresource",
|
| + "stacktrace": ".*WebCore::CachedResource::load .*",
|
| + "allocator": "malloc"
|
| + },
|
| + {
|
| + "name": "tc-webcore-script-execute",
|
| + "stacktrace": ".*WebCore::ScriptElement::execute.*",
|
| + "allocator": "malloc"
|
| + },
|
| + {
|
| + "name": "tc-webcore-events-related",
|
| + "stacktrace": ".*WebCore::createAttributeEventListener.*",
|
| + "allocator": "malloc"
|
| + },
|
| + {
|
| + "name": "tc-webcore-events-related",
|
| + "stacktrace": ".*WebCore::V8LazyEventListener::create.*",
|
| + "allocator": "malloc"
|
| + },
|
| + {
|
| + "name": "tc-webcore-events-related",
|
| + "stacktrace": ".*WebCore::V8EventListener::create.*",
|
| + "allocator": "malloc"
|
| + },
|
| + {
|
| + "name": "tc-webcore-events-related",
|
| + "stacktrace": ".*WebCore::Event::create .*",
|
| + "allocator": "malloc"
|
| + },
|
| + {
|
| + "name": "tc-webcore-events-related",
|
| + "stacktrace": ".*WebCore::EventListener::create .*",
|
| + "allocator": "malloc"
|
| + },
|
| + {
|
| + "name": "tc-webcore-document-write",
|
| + "stacktrace": ".*WebCore::Document::write.*",
|
| + "allocator": "malloc"
|
| + },
|
| + {
|
| + "name": "tc-webcore-node-create-renderer",
|
| + "stacktrace": ".*WebCore::Node::createRendererIfNeeded.*",
|
| + "allocator": "malloc"
|
| + },
|
| + {
|
| + "name": "tc-webcore-render-catch-all",
|
| + "stacktrace": ".*WebCore::RenderLayer.*",
|
| + "allocator": "malloc"
|
| + },
|
| + {
|
| + "name": "tc-webcore-render-catch-all",
|
| + "stacktrace": ".*WebCore::RenderBlock.*",
|
| + "allocator": "malloc"
|
| + },
|
| + {
|
| + "name": "tc-webcore-render-catch-all",
|
| + "stacktrace": ".*WebCore::RenderWidget.*",
|
| + "allocator": "malloc"
|
| + },
|
| + {
|
| + "name": "tc-webcore-render-catch-all",
|
| + "stacktrace": ".*WebCore::RenderView.*",
|
| + "allocator": "malloc"
|
| + },
|
| + {
|
| + "name": "tc-webcore-render-catch-all",
|
| + "stacktrace": ".*WebCore::RenderViewImpl.*",
|
| + "allocator": "malloc"
|
| + },
|
| + {
|
| + "name": "tc-webcore-render-catch-all",
|
| + "stacktrace": ".*WebCore::RenderStyle.*",
|
| + "allocator": "malloc"
|
| + },
|
| + {
|
| + "name": "tc-webcore-render-catch-all",
|
| + "stacktrace": ".*WebCore::RenderText.*",
|
| + "allocator": "malloc"
|
| + },
|
| + {
|
| + "name": "tc-webcore-render-catch-all",
|
| + "stacktrace": ".* RendererMain .*",
|
| + "allocator": "malloc"
|
| + },
|
| + {
|
| + "name": "tc-webcore-setInnerHTML-except-node",
|
| + "stacktrace": ".*WebCore::HTMLElement::setInnerHTML.*",
|
| + "allocator": "malloc"
|
| + },
|
| + {
|
| + "name": "tc-wtf-StringImpl-user-catch-all",
|
| + "stacktrace": ".*WTF::StringImpl::create .*",
|
| + "allocator": "malloc"
|
| + },
|
| + {
|
| + "name": "tc-wtf-StringImpl-user-catch-all",
|
| + "stacktrace": ".*WTF::StringImpl::createUninitialized.*",
|
| + "allocator": "malloc"
|
| + },
|
| + {
|
| + "name": "tc-wtf-HashTable-user-catch-all",
|
| + "stacktrace": ".*WTF::HashTable::allocateTable.*",
|
| + "allocator": "malloc"
|
| + },
|
| + {
|
| + "name": "tc-webcore-everything-create",
|
| + "stacktrace": ".*WebCore::[a-zA-Z0-9_]*::create .*",
|
| + "allocator": "malloc"
|
| + },
|
| + {
|
| + "name": "tc-webkit-from-v8-catch-all",
|
| + "stacktrace": ".*(WTF::|WebCore::|WebKit::).*v8::.*",
|
| + "allocator": "malloc"
|
| + },
|
| + {
|
| + "name": "tc-webkit-catch-all",
|
| + "stacktrace": ".*(WTF::|WebCore::|WebKit::).*",
|
| + "allocator": "malloc"
|
| + },
|
| + {
|
| + "name": "tc-v8-catch-all",
|
| + "stacktrace": ".*v8::.*",
|
| + "allocator": "malloc"
|
| + },
|
| + {
|
| + "name": "tc-toplevel-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"
|
| +}
|
|
|