Index: tools/deep_memory_profiler/policy.l2.txt |
diff --git a/tools/deep_memory_profiler/policy.l2.txt b/tools/deep_memory_profiler/policy.l2.txt |
new file mode 100644 |
index 0000000000000000000000000000000000000000..85fa41fafcc98e97fadbbf7333f53e884bb3d207 |
--- /dev/null |
+++ b/tools/deep_memory_profiler/policy.l2.txt |
@@ -0,0 +1,87 @@ |
+heap profile policy: POLICY_DEEP_2 |
+# Read policy.README for description of this file. |
+second optional optional |
+mmap-profiler mmap .*(ProfilerMalloc|MemoryRegionMap::).* |
+mmap-tcmalloc mmap .*(DoAllocWithArena|SbrkSysAllocator::Alloc|MmapSysAllocator::Alloc|LowLevelAlloc::Alloc|LowLevelAlloc::AllocWithArena).* |
+FROM_HERE_FOR_TOTAL optional optional |
+mustbezero optional optional |
+nonprofiled-absent optional optional |
+nonprofiled-anonymous optional optional |
+nonprofiled-file-exec optional optional |
+nonprofiled-file-nonexec optional optional |
+nonprofiled-stack optional optional |
+nonprofiled-other optional optional |
+no-bucket default default |
+mmap-v8-heap-newspace mmap .*v8::internal::NewSpace::SetUp.* |
+mmap-v8-heap-coderange mmap .*v8::internal::CodeRange::SetUp.* |
+mmap-v8-heap-pagedspace mmap .*v8::internal::PagedSpace::AllocateRaw.* |
+mmap-v8-other mmap .*v8::.* |
+mmap-catch-all mmap .* |
+tc-webcore-fontcache malloc .*WebCore::FontCache::getCachedFontData.* |
+tc-skia malloc .* Sk[A-Za-z_]+::.* |
+tc-renderobject malloc .*WebCore::RenderArena::allocate.* |
+tc-renderstyle malloc .*WebCore::RenderStyle::create.* |
+tc-renderstyle malloc .*WebCore::RenderStyle::clone.* |
+tc-webcore-sharedbuf malloc .*WebCore::SharedBuffer::create.* |
+tc-webcore-sharedbuf malloc .*WebCore::SharedBuffer::buffer.* |
+tc-webcore-sharedbuf malloc .*WebCore::SharedBuffer::append.* |
+tc-webcore-XHRcreate malloc .*WebCore::XMLHttpRequest::create .* |
+tc-webcore-XHRreceived malloc .*WebCore::XMLHttpRequest::didReceiveData.* |
+tc-webcore-docwriter-add malloc .*WebCore::DocumentWriter::addData.* |
+tc-webcore-node-and-doc malloc .*WebCore::HTML[a-zA-Z0-9_]*Element::create .* |
+tc-webcore-node-and-doc malloc .*WebCore::Text::create .* |
+tc-webcore-node-and-doc malloc .*WebCore::Comment::create .* |
+tc-webcore-node-and-doc malloc .*WebCore::HTMLDocument::create .* |
+tc-webcore-node-and-doc malloc .*WebCore::CSSStyleRule::create .* |
+tc-webcore-node-and-doc malloc .*WebCore::Attribute::create .* |
+tc-webcore-node-and-doc malloc .*WebCore::DOMWindow::create .* |
+tc-webcore-node-factory malloc .*WebCore::HTML[a-zA-Z0-9_]*Factory::create[a-zA-Z0-9_]*Element.* |
+tc-webcore-element-wrapper malloc .*WebCore::createHTML[a-zA-Z0-9_]*ElementWrapper.* |
+tc-webcore-stylepropertyset malloc .*WebCore::StylePropertySet::create .* |
+tc-webcore-style-createsheet malloc .*WebCore::StyleElement::createSheet.* |
+tc-webcore-cachedresource malloc .*WebCore::CachedResource::data .* |
+tc-webcore-cachedresource malloc .*WebCore::CachedResource::load .* |
+tc-webcore-script-execute malloc .*WebCore::ScriptElement::execute.* |
+tc-webcore-events-related malloc .*WebCore::createAttributeEventListener.* |
+tc-webcore-events-related malloc .*WebCore::V8LazyEventListener::create.* |
+tc-webcore-events-related malloc .*WebCore::V8EventListener::create.* |
+tc-webcore-events-related malloc .*WebCore::Event::create .* |
+tc-webcore-events-related malloc .*WebCore::EventListener::create .* |
+tc-webcore-document-write malloc .*WebCore::Document::write.* |
+tc-webcore-node-create-renderer malloc .*WebCore::Node::createRendererIfNeeded.* |
+tc-webcore-render-catch-all malloc .*WebCore::RenderLayer.* |
+tc-webcore-render-catch-all malloc .*WebCore::RenderBlock.* |
+tc-webcore-render-catch-all malloc .*WebCore::RenderWidget.* |
+tc-webcore-render-catch-all malloc .*WebCore::RenderView.* |
+tc-webcore-render-catch-all malloc .*WebCore::RenderViewImpl.* |
+tc-webcore-render-catch-all malloc .*WebCore::RenderStyle.* |
+tc-webcore-render-catch-all malloc .*WebCore::RenderText.* |
+tc-webcore-render-catch-all malloc .* RendererMain .* |
+tc-webcore-setInnerHTML-except-node malloc .*WebCore::HTMLElement::setInnerHTML.* |
+tc-wtf-StringImpl-user-catch-all malloc .*WTF::StringImpl::create .* |
+tc-wtf-StringImpl-user-catch-all malloc .*WTF::StringImpl::createUninitialized.* |
+tc-wtf-HashTable-user-catch-all malloc .*WTF::HashTable::allocateTable.* |
+#tc-wtf-fastmalloc-user-catch-all malloc .*WTF::fastMalloc .* |
+tc-webcore-everything-create malloc .*WebCore::[a-zA-Z0-9_]*::create .* |
+tc-webkit-from-v8-catch-all malloc .*(WTF::|WebCore::|WebKit::).*v8::.* |
+tc-webkit-catch-all malloc .*(WTF::|WebCore::|WebKit::).* |
+tc-v8-catch-all malloc .*v8::.* |
+tc-toplevel-string malloc std::basic_string::_Rep::_S_create |
+tc-catch-all malloc .* |
+tc-unused default default |
+UNTIL_HERE_FOR_TOTAL optional optional |
+total-exclude-profiler optional optional |
+total optional optional |
+anonymous optional optional |
+file-exec optional optional |
+file-nonexec optional optional |
+stack optional optional |
+other optional optional |
+mmap-total-log default default |
+mmap-no-log default default |
+mmap-total-record default default |
+other-total-log default default |
+tc-total-log default default |
+tc-no-log default default |
+tc-total-record default default |
+tc-total default default |