• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1{
2  "components": [
3    "second",
4    "mmap-profiler",
5    "mmap-type-profiler",
6    "mmap-tcmalloc",
7    "FROM_HERE_FOR_TOTAL",
8    "mustbezero",
9    "unhooked-absent",
10    "unhooked-ashmem-dalvik-heap",
11    "unhooked-ashmem-dalvik-LinearAlloc",
12    "unhooked-ashmem-dalvik-aux-structure",
13    "unhooked-ashmem-dalvik-bitmap",
14    "unhooked-ashmem-dalvik-other",
15    "unhooked-kgsl",
16    "unhooked-pvrsrvkm",
17    "unhooked-system-dex",
18    "unhooked-chrome-dex",
19    "unhooked-other-ashmem",
20    "unhooked-anonymous",
21    "unhooked-file-exec-lib-chrome-shared",
22    "unhooked-file-exec-lib-chrome-private",
23    "unhooked-file-exec",
24    "unhooked-file-nonexec-lib-chrome-shared",
25    "unhooked-file-nonexec-lib-chrome-private",
26    "unhooked-file-nonexec",
27    "unhooked-stack",
28    "unhooked-other",
29    "no-bucket",
30    "mmap-v8-heap-newspace",
31    "mmap-v8-heap-coderange",
32    "mmap-v8-heap-pagedspace",
33    "mmap-v8-other",
34    "mmap-gpu-mappedmemorymanager",
35    "mmap-gpu-command-ringbuffer",
36    "mmap-gpu-transfer-ringbuffer",
37    "mmap-gpu-gles2-createbuffer",
38    "mmap-skia-font",
39    "mmap-catch-all",
40    "tc-webcore-fontcache",
41    "tc-skia",
42    "tc-renderobject",
43    "tc-renderstyle",
44    "tc-webcore-sharedbuf",
45    "tc-webcore-XHRcreate",
46    "tc-webcore-XHRreceived",
47    "tc-webcore-docwriter-add",
48    "tc-webcore-node-and-doc",
49    "tc-webcore-node-factory",
50    "tc-webcore-element-wrapper",
51    "tc-webcore-stylepropertyset",
52    "tc-webcore-style-createsheet",
53    "tc-webcore-cachedresource",
54    "tc-webcore-script-execute",
55    "tc-webcore-events-related",
56    "tc-webcore-document-write",
57    "tc-webcore-node-create-renderer",
58    "tc-webcore-image-frame-generator",
59    "tc-webcore-render-catch-all",
60    "tc-webcore-setInnerHTML-except-node",
61    "tc-wtf-StringImpl-user-catch-all",
62    "tc-wtf-HashTable-user-catch-all",
63    "tc-webcore-everything-create",
64    "tc-webkit-from-v8-catch-all",
65    "tc-webkit-catch-all",
66    "tc-v8-catch-all",
67    "tc-toplevel-string",
68    "tc-std-treemap",
69    "tc-std-hashmap",
70    "tc-std-vector",
71    "tc-std-other",
72    "tc-catch-all",
73    "tc-unused",
74    "UNTIL_HERE_FOR_TOTAL",
75    "total-exclude-profiler",
76    "total",
77    "absent",
78    "anonymous",
79    "file-exec",
80    "file-nonexec",
81    "stack",
82    "other",
83    "mmap-total-log",
84    "mmap-no-log",
85    "mmap-total-record",
86    "other-total-log",
87    "tc-total-log",
88    "tc-no-log",
89    "tc-total-record",
90    "tc-total"
91  ],
92  "rules": [
93    {
94      "name": "second",
95      "stacktrace": "optional",
96      "allocator": "optional"
97    },
98    {
99      "name": "mmap-profiler",
100      "stacktrace": ".*(ProfilerMalloc|MemoryRegionMap::).*",
101      "allocator": "mmap"
102    },
103    {
104      "name": "mmap-type-profiler",
105      "stacktrace": ".*(TypeProfilerMalloc).*",
106      "allocator": "mmap"
107    },
108    {
109      "name": "mmap-tcmalloc",
110      "stacktrace": ".*(DoAllocWithArena|SbrkSysAllocator::Alloc|MmapSysAllocator::Alloc|LowLevelAlloc::Alloc|LowLevelAlloc::AllocWithArena).*",
111      "allocator": "mmap"
112    },
113    {
114      "name": "FROM_HERE_FOR_TOTAL",
115      "stacktrace": "optional",
116      "allocator": "optional"
117    },
118    {
119      "name": "mustbezero",
120      "stacktrace": "optional",
121      "allocator": "optional"
122    },
123    {
124      "name": "unhooked-absent",
125      "stacktrace": "optional",
126      "allocator": "optional"
127    },
128    {
129      "name": "unhooked-ashmem-dalvik-heap",
130      "mappedpathname": "/dev/ashmem/dalvik-heap.*",
131      "allocator": "unhooked"
132    },
133    {
134      "name": "unhooked-ashmem-dalvik-LinearAlloc",
135      "mappedpathname": "/dev/ashmem/dalvik-LinearAlloc.*",
136      "allocator": "unhooked"
137    },
138    {
139      "name": "unhooked-ashmem-dalvik-aux-structure",
140      "mappedpathname": "/dev/ashmem/dalvik-aux-structure.*",
141      "allocator": "unhooked"
142    },
143    {
144      "name": "unhooked-ashmem-dalvik-bitmap",
145      "mappedpathname": "/dev/ashmem/dalvik-bitmap.*",
146      "allocator": "unhooked"
147    },
148    {
149      "name": "unhooked-ashmem-dalvik-other",
150      "mappedpathname": "/dev/ashmem/dalvik.*",
151      "allocator": "unhooked"
152    },
153    {
154      "name": "unhooked-kgsl",
155      "mappedpathname": "/dev/kgsl-3d0",
156      "allocator": "unhooked"
157    },
158    {
159      "name": "unhooked-pvrsrvkm",
160      "mappedpathname": "/dev/pvrsrvkm.*",
161      "allocator": "unhooked"
162    },
163    {
164      "name": "unhooked-system-dex",
165      "mappedpathname": "/data/dalvik-cache/system.*.dex.*",
166      "allocator": "unhooked"
167    },
168    {
169      "name": "unhooked-chrome-dex",
170      "mappedpathname": "^/.*?(chrome|content).*?apk@classes.dex",
171      "allocator": "unhooked"
172    },
173    {
174      "name": "unhooked-other-ashmem",
175      "mappedpathname": "/dev/ashmem/.*",
176      "allocator": "unhooked"
177    },
178    {
179      "name": "unhooked-anonymous",
180      "mappedpathname": "^$",
181      "allocator": "unhooked"
182    },
183    {
184      "name": "unhooked-file-exec-lib-chrome-shared",
185      "mappedpathname": "^/.*?(chromeview|content).*",
186      "mappedpermission": "..x.",
187      "allocator": "unhooked",
188      "sharedwith": ["group", "others"]
189    },
190    {
191      "name": "unhooked-file-exec-lib-chrome-private",
192      "mappedpathname": "^/.*?(chromeview|content).*",
193      "mappedpermission": "..x.",
194      "allocator": "unhooked",
195      "sharedwith": ["private"]
196    },
197    {
198      "name": "unhooked-file-exec",
199      "mappedpathname": "^/.*",
200      "mappedpermission": "..x.",
201      "allocator": "unhooked"
202    },
203    {
204      "name": "unhooked-file-nonexec-lib-chrome-shared",
205      "mappedpathname": "^/.*?(chromeview|content).*",
206      "allocator": "unhooked",
207      "sharedwith": ["group", "others"]
208    },
209    {
210      "name": "unhooked-file-nonexec-lib-chrome-private",
211      "mappedpathname": "^/.*?(chromeview|content).*",
212      "allocator": "unhooked",
213      "sharedwith": ["private"]
214    },
215    {
216      "name": "unhooked-file-nonexec",
217      "mappedpathname": "^/.*",
218      "allocator": "unhooked"
219    },
220    {
221      "name": "unhooked-stack",
222      "mappedpathname": ".stack.",
223      "allocator": "unhooked"
224    },
225    {
226      "name": "unhooked-other",
227      "mappedpathname": ".*",
228      "allocator": "unhooked"
229    },
230    {
231      "name": "mmap-v8-heap-newspace",
232      "stacktrace": ".*v8::internal::NewSpace::SetUp.*",
233      "allocator": "mmap"
234    },
235    {
236      "name": "mmap-v8-heap-coderange",
237      "stacktrace": ".*v8::internal::CodeRange::SetUp.*",
238      "allocator": "mmap"
239    },
240    {
241      "name": "mmap-v8-heap-pagedspace",
242      "stacktrace": ".*v8::internal::PagedSpace::AllocateRaw.*",
243      "allocator": "mmap"
244    },
245    {
246      "name": "mmap-v8-other",
247      "stacktrace": ".*v8::.*",
248      "allocator": "mmap"
249    },
250    {
251      "name": "mmap-gpu-mappedmemorymanager",
252      "stacktrace": ".*gpu::MappedMemoryManager::Alloc.*",
253      "allocator": "mmap"
254    },
255    {
256      "name": "mmap-gpu-command-ringbuffer",
257      "stacktrace": ".*gpu::CommandBufferHelper::AllocateRingBuffer.*",
258      "allocator": "mmap"
259    },
260    {
261      "name": "mmap-gpu-transfer-ringbuffer",
262      "stacktrace": ".*gpu::TransferBuffer::AllocateRingBuffer.*",
263      "allocator": "mmap"
264    },
265    {
266      "name": "mmap-gpu-gles2-createbuffer",
267      "stacktrace": ".*gpu::gles2::BufferTracker::CreateBuffer.*",
268      "allocator": "mmap"
269    },
270    {
271      "name": "mmap-skia-font",
272      "stacktrace": ".*SkTypeface::openStream.*",
273      "allocator": "mmap"
274    },
275    {
276      "name": "mmap-catch-all",
277      "stacktrace": ".*",
278      "allocator": "mmap"
279    },
280    {
281      "name": "tc-webcore-fontcache",
282      "stacktrace": ".*WebCore::FontCache::getCachedFontData.*",
283      "allocator": "malloc"
284    },
285    {
286      "name": "tc-skia",
287      "stacktrace": ".* Sk[A-Za-z_]+::.*",
288      "allocator": "malloc"
289    },
290    {
291      "name": "tc-renderobject",
292      "stacktrace": ".*WebCore::RenderArena::allocate.*",
293      "allocator": "malloc"
294    },
295    {
296      "name": "tc-renderstyle",
297      "stacktrace": ".*WebCore::RenderStyle::create.*",
298      "allocator": "malloc"
299    },
300    {
301      "name": "tc-renderstyle",
302      "stacktrace": ".*WebCore::RenderStyle::clone.*",
303      "allocator": "malloc"
304    },
305    {
306      "name": "tc-webcore-sharedbuf",
307      "stacktrace": ".*WebCore::SharedBuffer::create.*",
308      "allocator": "malloc"
309    },
310    {
311      "name": "tc-webcore-sharedbuf",
312      "stacktrace": ".*WebCore::SharedBuffer::buffer.*",
313      "allocator": "malloc"
314    },
315    {
316      "name": "tc-webcore-sharedbuf",
317      "stacktrace": ".*WebCore::SharedBuffer::append.*",
318      "allocator": "malloc"
319    },
320    {
321      "name": "tc-webcore-XHRcreate",
322      "stacktrace": ".*WebCore::XMLHttpRequest::create .*",
323      "allocator": "malloc"
324    },
325    {
326      "name": "tc-webcore-XHRreceived",
327      "stacktrace": ".*WebCore::XMLHttpRequest::didReceiveData.*",
328      "allocator": "malloc"
329    },
330    {
331      "name": "tc-webcore-docwriter-add",
332      "stacktrace": ".*WebCore::DocumentWriter::addData.*",
333      "allocator": "malloc"
334    },
335    {
336      "name": "tc-webcore-node-and-doc",
337      "stacktrace": ".*WebCore::HTML[a-zA-Z0-9_]*Element::create .*",
338      "allocator": "malloc"
339    },
340    {
341      "name": "tc-webcore-node-and-doc",
342      "stacktrace": ".*WebCore::Text::create .*",
343      "allocator": "malloc"
344    },
345    {
346      "name": "tc-webcore-node-and-doc",
347      "stacktrace": ".*WebCore::Comment::create .*",
348      "allocator": "malloc"
349    },
350    {
351      "name": "tc-webcore-node-and-doc",
352      "stacktrace": ".*WebCore::HTMLDocument::create .*",
353      "allocator": "malloc"
354    },
355    {
356      "name": "tc-webcore-node-and-doc",
357      "stacktrace": ".*WebCore::CSSStyleRule::create .*",
358      "allocator": "malloc"
359    },
360    {
361      "name": "tc-webcore-node-and-doc",
362      "stacktrace": ".*WebCore::Attribute::create .*",
363      "allocator": "malloc"
364    },
365    {
366      "name": "tc-webcore-node-and-doc",
367      "stacktrace": ".*WebCore::DOMWindow::create .*",
368      "allocator": "malloc"
369    },
370    {
371      "name": "tc-webcore-node-factory",
372      "stacktrace": ".*WebCore::HTML[a-zA-Z0-9_]*Factory::create[a-zA-Z0-9_]*Element.*",
373      "allocator": "malloc"
374    },
375    {
376      "name": "tc-webcore-element-wrapper",
377      "stacktrace": ".*WebCore::createHTML[a-zA-Z0-9_]*ElementWrapper.*",
378      "allocator": "malloc"
379    },
380    {
381      "name": "tc-webcore-stylepropertyset",
382      "stacktrace": ".*WebCore::StylePropertySet::create .*",
383      "allocator": "malloc"
384    },
385    {
386      "name": "tc-webcore-style-createsheet",
387      "stacktrace": ".*WebCore::StyleElement::createSheet.*",
388      "allocator": "malloc"
389    },
390    {
391      "name": "tc-webcore-cachedresource",
392      "stacktrace": ".*WebCore::CachedResource::data .*",
393      "allocator": "malloc"
394    },
395    {
396      "name": "tc-webcore-cachedresource",
397      "stacktrace": ".*WebCore::CachedResource::load .*",
398      "allocator": "malloc"
399    },
400    {
401      "name": "tc-webcore-script-execute",
402      "stacktrace": ".*WebCore::ScriptElement::execute.*",
403      "allocator": "malloc"
404    },
405    {
406      "name": "tc-webcore-events-related",
407      "stacktrace": ".*WebCore::createAttributeEventListener.*",
408      "allocator": "malloc"
409    },
410    {
411      "name": "tc-webcore-events-related",
412      "stacktrace": ".*WebCore::V8LazyEventListener::create.*",
413      "allocator": "malloc"
414    },
415    {
416      "name": "tc-webcore-events-related",
417      "stacktrace": ".*WebCore::V8EventListener::create.*",
418      "allocator": "malloc"
419    },
420    {
421      "name": "tc-webcore-events-related",
422      "stacktrace": ".*WebCore::Event::create .*",
423      "allocator": "malloc"
424    },
425    {
426      "name": "tc-webcore-events-related",
427      "stacktrace": ".*WebCore::EventListener::create .*",
428      "allocator": "malloc"
429    },
430    {
431      "name": "tc-webcore-document-write",
432      "stacktrace": ".*WebCore::Document::write.*",
433      "allocator": "malloc"
434    },
435    {
436      "name": "tc-webcore-node-create-renderer",
437      "stacktrace": ".*WebCore::Node::createRendererIfNeeded.*",
438      "allocator": "malloc"
439    },
440    {
441      "name": "tc-webcore-image-frame-generator",
442      "stacktrace": ".*WebCore::ImageFrameGenerator.*",
443      "allocator": "malloc"
444    },
445    {
446      "name": "tc-webcore-render-catch-all",
447      "stacktrace": ".*WebCore::RenderLayer.*",
448      "allocator": "malloc"
449    },
450    {
451      "name": "tc-webcore-render-catch-all",
452      "stacktrace": ".*WebCore::RenderBlock.*",
453      "allocator": "malloc"
454    },
455    {
456      "name": "tc-webcore-render-catch-all",
457      "stacktrace": ".*WebCore::RenderWidget.*",
458      "allocator": "malloc"
459    },
460    {
461      "name": "tc-webcore-render-catch-all",
462      "stacktrace": ".*WebCore::RenderView.*",
463      "allocator": "malloc"
464    },
465    {
466      "name": "tc-webcore-render-catch-all",
467      "stacktrace": ".*WebCore::RenderViewImpl.*",
468      "allocator": "malloc"
469    },
470    {
471      "name": "tc-webcore-render-catch-all",
472      "stacktrace": ".*WebCore::RenderStyle.*",
473      "allocator": "malloc"
474    },
475    {
476      "name": "tc-webcore-render-catch-all",
477      "stacktrace": ".*WebCore::RenderText.*",
478      "allocator": "malloc"
479    },
480    {
481      "name": "tc-webcore-render-catch-all",
482      "stacktrace": ".* RendererMain .*",
483      "allocator": "malloc"
484    },
485    {
486      "name": "tc-webcore-setInnerHTML-except-node",
487      "stacktrace": ".*WebCore::HTMLElement::setInnerHTML.*",
488      "allocator": "malloc"
489    },
490    {
491      "name": "tc-wtf-StringImpl-user-catch-all",
492      "stacktrace": ".*WTF::StringImpl::create .*",
493      "allocator": "malloc"
494    },
495    {
496      "name": "tc-wtf-StringImpl-user-catch-all",
497      "stacktrace": ".*WTF::StringImpl::createUninitialized.*",
498      "allocator": "malloc"
499    },
500    {
501      "name": "tc-wtf-HashTable-user-catch-all",
502      "stacktrace": ".*WTF::HashTable::allocateTable.*",
503      "allocator": "malloc"
504    },
505    {
506      "name": "tc-webcore-everything-create",
507      "stacktrace": ".*WebCore::[a-zA-Z0-9_]*::create .*",
508      "allocator": "malloc"
509    },
510    {
511      "name": "tc-webkit-from-v8-catch-all",
512      "stacktrace": ".*(WTF::|WebCore::|WebKit::).*v8::.*",
513      "allocator": "malloc"
514    },
515    {
516      "name": "tc-webkit-catch-all",
517      "stacktrace": ".*(WTF::|WebCore::|WebKit::).*",
518      "allocator": "malloc"
519    },
520    {
521      "name": "tc-v8-catch-all",
522      "stacktrace": ".*v8::.*",
523      "allocator": "malloc"
524    },
525    {
526      "name": "tc-toplevel-string",
527      "stacktrace": "std::basic_string::_Rep::_S_create",
528      "allocator": "malloc"
529    },
530    {
531      "name": "tc-std-treemap",
532      "stacktrace": ".*::allocate std::(_Rb_tree|__1::__tree).*",
533      "allocator": "malloc"
534    },
535    {
536      "name": "tc-std-hashmap",
537      "stacktrace": ".*(std::vector::reserve __gnu_cxx::hashtable|::allocate std::_Hashtable|::allocate std::__1::__hash_table).*",
538      "allocator": "malloc"
539    },
540    {
541      "name": "tc-std-vector",
542      "stacktrace": ".*std::(_Vector_base::_M_allocate|__1::vector::allocate).*",
543      "allocator": "malloc"
544    },
545    {
546      "name": "tc-std-other",
547      "stacktrace": ".*(__gnu_cxx::new_allocator::allocate|std::__1::allocator::allocate).*",
548      "allocator": "malloc"
549    },
550    {
551      "name": "tc-catch-all",
552      "stacktrace": ".*",
553      "allocator": "malloc"
554    },
555    {
556      "name": "UNTIL_HERE_FOR_TOTAL",
557      "stacktrace": "optional",
558      "allocator": "optional"
559    },
560    {
561      "name": "total-exclude-profiler",
562      "stacktrace": "optional",
563      "allocator": "optional"
564    },
565    {
566      "name": "total",
567      "stacktrace": "optional",
568      "allocator": "optional"
569    },
570    {
571      "name": "absent",
572      "stacktrace": "optional",
573      "allocator": "optional"
574    },
575    {
576      "name": "anonymous",
577      "stacktrace": "optional",
578      "allocator": "optional"
579    },
580    {
581      "name": "file-exec",
582      "stacktrace": "optional",
583      "allocator": "optional"
584    },
585    {
586      "name": "file-nonexec",
587      "stacktrace": "optional",
588      "allocator": "optional"
589    },
590    {
591      "name": "stack",
592      "stacktrace": "optional",
593      "allocator": "optional"
594    },
595    {
596      "name": "other",
597      "stacktrace": "optional",
598      "allocator": "optional"
599    }
600  ],
601  "version": "POLICY_DEEP_3"
602}
603