Revert "Always activate MojoApplicationHost"
[chromium-blink-merge.git] / tools / deep_memory_profiler / policy.android.browser.json
blob776ec068e4e174704ec6fb8a5edbef3b890e633b
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-gpu-transferbuffer",
31     "mmap-gpu-command-ringbuffer",
32     "mmap-gpu-transfer-ringbuffer",
33     "mmap-catch-all",
34     "tc-disk_cache-backing",
35     "tc-disk_cache-other",
36     "tc-sqlite3MemAlloc",
37     "tc-angle",
38     "tc-crypto",
39     "tc-net-iobuffer",
40     "tc-stl-string",
41     "tc-stl-rbtree",
42     "tc-stl-vector",
43     "tc-stl-hashtable",
44     "tc-stl-other",
45     "tc-catch-all",
46     "tc-unused",
47     "UNTIL_HERE_FOR_TOTAL",
48     "total-exclude-profiler",
49     "total",
50     "absent",
51     "anonymous",
52     "file-exec",
53     "file-nonexec",
54     "stack",
55     "other",
56     "mmap-total-log",
57     "mmap-no-log",
58     "mmap-total-record",
59     "other-total-log",
60     "tc-total-log",
61     "tc-no-log",
62     "tc-total-record",
63     "tc-total"
64   ],
65   "rules": [
66     {
67       "name": "second",
68       "stacktrace": "optional",
69       "allocator": "optional"
70     },
71     {
72       "name": "mmap-profiler",
73       "stacktrace": ".*(ProfilerMalloc|MemoryRegionMap::).*",
74       "allocator": "mmap"
75     },
76     {
77       "name": "mmap-type-profiler",
78       "stacktrace": ".*(TypeProfilerMalloc).*",
79       "allocator": "mmap"
80     },
81     {
82       "name": "mmap-tcmalloc",
83       "stacktrace": ".*(DoAllocWithArena|SbrkSysAllocator::Alloc|MmapSysAllocator::Alloc|LowLevelAlloc::Alloc|LowLevelAlloc::AllocWithArena).*",
84       "allocator": "mmap"
85     },
86     {
87       "name": "FROM_HERE_FOR_TOTAL",
88       "stacktrace": "optional",
89       "allocator": "optional"
90     },
91     {
92       "name": "mustbezero",
93       "stacktrace": "optional",
94       "allocator": "optional"
95     },
96     {
97       "name": "unhooked-absent",
98       "stacktrace": "optional",
99       "allocator": "optional"
100     },
101     {
102       "name": "unhooked-ashmem-dalvik-heap",
103       "mappedpathname": "/dev/ashmem/dalvik-heap.*",
104       "allocator": "unhooked"
105     },
106     {
107       "name": "unhooked-ashmem-dalvik-LinearAlloc",
108       "mappedpathname": "/dev/ashmem/dalvik-LinearAlloc.*",
109       "allocator": "unhooked"
110     },
111     {
112       "name": "unhooked-ashmem-dalvik-aux-structure",
113       "mappedpathname": "/dev/ashmem/dalvik-aux-structure.*",
114       "allocator": "unhooked"
115     },
116     {
117       "name": "unhooked-ashmem-dalvik-bitmap",
118       "mappedpathname": "/dev/ashmem/dalvik-bitmap.*",
119       "allocator": "unhooked"
120     },
121     {
122       "name": "unhooked-ashmem-dalvik-other",
123       "mappedpathname": "/dev/ashmem/dalvik.*",
124       "allocator": "unhooked"
125     },
126     {
127       "name": "unhooked-kgsl",
128       "mappedpathname": "/dev/kgsl-3d0",
129       "allocator": "unhooked"
130     },
131     {
132       "name": "unhooked-pvrsrvkm",
133       "mappedpathname": "/dev/pvrsrvkm.*",
134       "allocator": "unhooked"
135     },
136     {
137       "name": "unhooked-system-dex",
138       "mappedpathname": "/data/dalvik-cache/system.*.dex.*",
139       "allocator": "unhooked"
140     },
141     {
142       "name": "unhooked-chrome-dex",
143       "mappedpathname": "^/.*?(chrome|content).*?apk@classes.dex",
144       "allocator": "unhooked"
145     },
146     {
147       "name": "unhooked-other-ashmem",
148       "mappedpathname": "/dev/ashmem/.*",
149       "allocator": "unhooked"
150     },
151     {
152       "name": "unhooked-anonymous",
153       "mappedpathname": "^$",
154       "allocator": "unhooked"
155     },
156     {
157       "name": "unhooked-file-exec-lib-chrome-shared",
158       "mappedpathname": "^/.*?(chromeview|content).*",
159       "mappedpermission": "..x.",
160       "allocator": "unhooked",
161       "sharedwith": ["group", "others"]
162     },
163     {
164       "name": "unhooked-file-exec-lib-chrome-private",
165       "mappedpathname": "^/.*?(chromeview|content).*",
166       "mappedpermission": "..x.",
167       "allocator": "unhooked",
168       "sharedwith": ["private"]
169     },
170     {
171       "name": "unhooked-file-exec",
172       "mappedpathname": "^/.*",
173       "mappedpermission": "..x.",
174       "allocator": "unhooked"
175     },
176     {
177       "name": "unhooked-file-nonexec-lib-chrome-shared",
178       "mappedpathname": "^/.*?(chromeview|content).*",
179       "allocator": "unhooked",
180       "sharedwith": ["group", "others"]
181     },
182     {
183       "name": "unhooked-file-nonexec-lib-chrome-private",
184       "mappedpathname": "^/.*?(chromeview|content).*",
185       "allocator": "unhooked",
186       "sharedwith": ["private"]
187     },
188     {
189       "name": "unhooked-file-nonexec",
190       "mappedpathname": "^/.*",
191       "allocator": "unhooked"
192     },
193     {
194       "name": "unhooked-stack",
195       "mappedpathname": ".stack.",
196       "allocator": "unhooked"
197     },
198     {
199       "name": "unhooked-other",
200       "mappedpathname": ".*",
201       "allocator": "unhooked"
202     },
203     {
204       "name": "mmap-gpu-transferbuffer",
205       "stacktrace": ".*content::GpuCommandBufferStub::OnRegisterTransferBuffer.*",
206       "allocator": "mmap"
207     },
208     {
209       "name": "mmap-gpu-command-ringbuffer",
210       "stacktrace": ".*gpu::CommandBufferHelper::AllocateRingBuffer.*",
211       "allocator": "mmap"
212     },
213     {
214       "name": "mmap-gpu-transfer-ringbuffer",
215       "stacktrace": ".*gpu::TransferBuffer::AllocateRingBuffer.*",
216       "allocator": "mmap"
217     },
218     {
219       "name": "mmap-catch-all",
220       "stacktrace": ".*",
221       "allocator": "mmap"
222     },
223     {
224       "name": "tc-disk_cache-backing",
225       "stacktrace": ".*disk_cache::BackendImpl::InitBackingStore.*",
226       "allocator": "malloc"
227     },
228     {
229       "name": "tc-disk_cache-other",
230       "stacktrace": ".*disk_cache::.*",
231       "allocator": "malloc"
232     },
233     {
234       "name": "tc-sqlite3MemAlloc",
235       "stacktrace": ".*sqlite3MemMalloc.*",
236       "allocator": "malloc"
237     },
238     {
239       "name": "tc-angle",
240       "stacktrace": ".*TPoolAllocator::allocate.*",
241       "allocator": "malloc"
242     },
243     {
244       "name": "tc-crypto",
245       "stacktrace": ".*(CRYPTO_malloc|CRYPTO_realloc).*",
246       "allocator": "malloc"
247     },
248     {
249       "name": "tc-net-iobuffer",
250       "stacktrace": ".*net::IOBuffer::IOBuffer.*",
251       "allocator": "malloc"
252     },
253     {
254       "name": "tc-stl-string",
255       "stacktrace": ".*std::basic_string::.*",
256       "allocator": "malloc"
257     },
258     {
259       "name": "tc-stl-rbtree",
260       "stacktrace": ".*std::priv::_Rb_tree::.*",
261       "allocator": "malloc"
262     },
263     {
264       "name": "tc-stl-vector",
265       "stacktrace": ".*std::priv::_Impl_vector::.*",
266       "allocator": "malloc"
267     },
268     {
269       "name": "tc-stl-hashtable",
270       "stacktrace": ".*std::hashtable::.*",
271       "allocator": "malloc"
272     },
273     {
274       "name": "tc-stl-other",
275       "stacktrace": ".*std::__stl_new.*",
276       "allocator": "malloc"
277     },
278     {
279       "name": "tc-catch-all",
280       "stacktrace": ".*",
281       "allocator": "malloc"
282     },
283     {
284       "name": "UNTIL_HERE_FOR_TOTAL",
285       "stacktrace": "optional",
286       "allocator": "optional"
287     },
288     {
289       "name": "total-exclude-profiler",
290       "stacktrace": "optional",
291       "allocator": "optional"
292     },
293     {
294       "name": "total",
295       "stacktrace": "optional",
296       "allocator": "optional"
297     },
298     {
299       "name": "absent",
300       "stacktrace": "optional",
301       "allocator": "optional"
302     },
303     {
304       "name": "anonymous",
305       "stacktrace": "optional",
306       "allocator": "optional"
307     },
308     {
309       "name": "file-exec",
310       "stacktrace": "optional",
311       "allocator": "optional"
312     },
313     {
314       "name": "file-nonexec",
315       "stacktrace": "optional",
316       "allocator": "optional"
317     },
318     {
319       "name": "stack",
320       "stacktrace": "optional",
321       "allocator": "optional"
322     },
323     {
324       "name": "other",
325       "stacktrace": "optional",
326       "allocator": "optional"
327     }
328   ],
329   "version": "POLICY_DEEP_3"