Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1)

Side by Side Diff: tools/deep_memory_profiler/dmpolicy

Issue 9812010: Breakdown nonprofiled memory regions (f.k.a. 'unknown'), and add new policy files. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: reflected the comments. Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « tools/deep_memory_profiler/README.policy ('k') | tools/deep_memory_profiler/dmprof » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 heap profile policy: POLICY_DEEP_2
2 #
3 # This file contains a classification policy for dmprof.py.
4 #
5 # Each line indicates a group to be classified and conditions for classifying
6 # in the following format.
7 # Format: <group-name> <region-type> <pattern>
8 #
9 # <group-name> is a name for the group to be classified. Same names can appear
10 # in the same policy file multiple times. <region-type> represents a type of
11 # the memory region. It's one of {malloc, mmap, default, optional}. <pattern>
12 # is a Python-style regular expression to match with calling stack frames.
13 #
14 # For each memory chunks allocated by malloc, its calling stack frame of malloc
15 # is compared with these classification policies whose <region-type> is 'malloc'
16 # from the top. If <pattern> of the policy matches the frame, the memory chunk
17 # is classified into <group-name>. The same way for 'mmap'.
18 #
19 # Policy lines whose <region-type>s are 'optional' and 'default' are used by
20 # dmprof.py internally. 'optional' policies can be disabled by removing or
21 # commenting-out.
22 #
23 second optional optional
24 minute optional optional
25 unknown optional optional
26 total-exclude-profiler optional optional
27 #total optional optional
28 #anonymous optional optional
29 #filemapped optional optional
30 #other optional optional
31 #total-vm optional optional
32 #anonymous-vm optional optional
33 #filemapped-vm optional optional
34 #other-vm optional optional
35 #vm-profiler optional optional
36 #vm-total optional optional
37 no-bucket default default
38 mmap-profiler mmap .*(ProfilerMalloc|MemoryRegionMap::).*
39 mmap-tcmalloc mmap .*(DoAllocWithArena|SbrkSysAllocator::Al loc|MmapSysAllocator::Alloc|LowLevelAlloc::Alloc|LowLevelAlloc::AllocWithArena). *
40 mmap-v8-heap-new mmap .*v8::.*::ReserveInitialChunk.*
41 mmap-v8-heap-coderange mmap .*v8::.*::CodeRange::Setup.*
42 mmap-v8-heap-old-evacuate mmap .*v8::.*::OldSpace::.* v8::internal::Sca vengingVisitor::EvacuateObject.*
43 mmap-v8-heap-old mmap .*v8::.*::OldSpace::.*
44 mmap-v8-heap-largeobj mmap .*v8::.*::LargeObjectChunk::New.*
45 mmap-v8-heap-other mmap .*VirtualMemory.*
46 mmap-v8-heap-other mmap .*v8::internal::OS::Allocate.*
47 mmap-v8-nonheap mmap .*v8::.*
48 #mmap-webkit mmap .*(WTF::|WebCore::|WebKit::).*
49 #mmap-sqlite mmap .*sqlite3MemMalloc.*
50 #mmap-pl-arena mmap .*PL_ArenaAllocate.*
51 #mmap-sk mmap .*sk_malloc_flags.*
52 mmap-no-policy mmap .*
53 mmap-total-log default default
54 mmap-no-log default default
55 mmap-total-record default default
56 #mmap-total-record-vm default default
57 tc-webcore-attreventlistener malloc .*WebCore::createAttributeEventListener. *
58 tc-webcore-v8lazyeventlistener malloc .*WebCore::V8LazyEventListener::create.*
59 tc-webcore-v8eventlistener malloc .*WebCore::V8EventListener::create.*
60 tc-v8-heap malloc .*v8::.*::ReserveInitialChunk.*
61 tc-v8-heap malloc .*v8::.*::CodeRange::Setup.*
62 tc-v8-heap malloc .*v8::.*::OldSpace::.*
63 tc-v8-heap malloc .*v8::.*::LargeObjectChunk::New.*
64 tc-v8-heap malloc .*VirtualMemory.*
65 tc-v8-heap malloc .*v8::internal::OS::Allocate.*
66 tc-webcore-event malloc .*WebCore::Event::create .*
67 tc-webcore-document malloc .*WebCore::Document::create .*
68 tc-webcore-node malloc .*WebCore::Node::create .*
69 tc-webcore-eventlistener malloc .*WebCore::EventListener::create .*
70 tc-wtf-stringimpl malloc .*WTF::StringImpl::create .*
71 tc-webcore-cachedresource malloc .*WebCore::CachedResource::load .*
72 tc-webcore-domwindow malloc .*WebCore::DOMWindow::create .*
73 tc-webkit-shrinkToFit malloc .*WTF::StringImpl::createUninitialized W TF::StringBuilder::shrinkToFit WebCore::XMLHttpRequest::didFinishLoading.*
74 tc-webkit-StringImpl12 malloc .*WTF::StringImpl::createUninitialized W TF::StringBuilder::shrinkToFit WTF::StringBuilder::toString.*
75 tc-webkit-KURLgoogle-v8 malloc .*WTF::StringImpl::createUninitialized W TF::StringImpl::create String WebCore::KURLGooglePrivate::string WebCore::KURL:: string WTF::String WebCore::V8XMLHttpRequest::sendCallback.*
76 tc-webkit-KURLgoogle malloc .*WTF::StringImpl::createUninitialized W TF::StringImpl::create String WebCore::KURLGooglePrivate::string.*
77 tc-webkit-StringAMTB malloc .*WTF::StringImpl::createUninitialized W TF::StringImpl::create String WebCore::AtomicMarkupTokenBase::.*
78 tc-webkit-StringImpl2 malloc .*WTF::StringImpl::createUninitialized W TF::StringImpl::create.*
79 tc-webkit-StringImpl3 malloc .*WTF::StringImpl::createUninitialized W TF::String::append.*
80 tc-webkit-StringImpl4 malloc .*WTF::StringImpl::createUninitialized W TF::String::fromUTF8.*
81 tc-webkit-StringImpl5 malloc .*WTF::StringImpl::createUninitialized W TF::StringBuilder::allocateBuffer.*
82 tc-webkit-StringImpl6 malloc .*WTF::StringImpl::createUninitialized W TF::String::createUninitialized.*
83 tc-webkit-StringImpl7 malloc .*WTF::StringImpl::createUninitialized W TF::StringImpl::upper.*
84 tc-webkit-StringImpl8 malloc .*WTF::StringImpl::createUninitialized W TF::StringImpl::replace.*
85 tc-webkit-StringImpl malloc .*WTF::StringImpl::createUninitialized.*
86 tc-webkit-htmlElement malloc .*WebCore::HTMLElementFactory::createHTM LElement.*
87 tc-webkit-htmlAttribute malloc .*WebCore::Element::setAttributeMap.*
88 tc-webkit-atomicHTMLToken malloc .*AtomicHTMLToken.*
89 tc-webkit-htmltree malloc .*WebCore::HTMLTreeBuilder::constructTre eFromToken.*
90 tc-webkit-hashtable malloc .*WTF::HashTable::allocateTable .*
91 tc-webkit-operator malloc .*WTF::fastMalloc WTF::\S*::operator .*
92 tc-webkit-fastmalloc malloc .*WTF::fastMalloc .*
93 tc-v8-malloced malloc .*v8::internal::Malloced::New.*
94 tc-v8-nonheap malloc .*v8::.*
95 tc-webkit malloc .*(WTF::|WebCore::|WebKit::).*
96 tc-ftmemqalloc malloc .*ft_mem_qalloc.*
97 tc-pixman malloc .*pixman_image_create_bits.*
98 tc-stdstring malloc .*std::string::_Rep::_S_create.*
99 tc-gnualloc-rbtree malloc .*__gnu_cxx::new_allocator::allocate std ::_Rb_tree::.*
100 tc-gnualloc malloc .*__gnu_cxx::new_allocator::allocate.*
101 tc-sqlite malloc .*sqlite3MemMalloc.*
102 tc-sk malloc .*sk_malloc_flags.*
103 tc-no-policy malloc .*
104 tc-total-log default default
105 tc-no-log default default
106 tc-total-record default default
107 tc-unused default default
108 tc-total default default
109 other-total-log default default
OLDNEW
« no previous file with comments | « tools/deep_memory_profiler/README.policy ('k') | tools/deep_memory_profiler/dmprof » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698