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

Side by Side Diff: tools/deep_memory_profiler/policy.l2.json

Issue 10824104: Use json to describe dmprof policies. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add else: path in load_policy Created 8 years, 4 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/policy.l1.json ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 {
2 "components": [
3 "second",
4 "mmap-profiler",
5 "mmap-allocated-type",
6 "mmap-tcmalloc",
7 "FROM_HERE_FOR_TOTAL",
8 "mustbezero",
9 "nonprofiled-absent",
10 "nonprofiled-anonymous",
11 "nonprofiled-file-exec",
12 "nonprofiled-file-nonexec",
13 "nonprofiled-stack",
14 "nonprofiled-other",
15 "no-bucket",
16 "mmap-v8-heap-newspace",
17 "mmap-v8-heap-coderange",
18 "mmap-v8-heap-pagedspace",
19 "mmap-v8-other",
20 "mmap-catch-all",
21 "tc-webcore-fontcache",
22 "tc-skia",
23 "tc-renderobject",
24 "tc-renderstyle",
25 "tc-webcore-sharedbuf",
26 "tc-webcore-XHRcreate",
27 "tc-webcore-XHRreceived",
28 "tc-webcore-docwriter-add",
29 "tc-webcore-node-and-doc",
30 "tc-webcore-node-factory",
31 "tc-webcore-element-wrapper",
32 "tc-webcore-stylepropertyset",
33 "tc-webcore-style-createsheet",
34 "tc-webcore-cachedresource",
35 "tc-webcore-script-execute",
36 "tc-webcore-events-related",
37 "tc-webcore-document-write",
38 "tc-webcore-node-create-renderer",
39 "tc-webcore-render-catch-all",
40 "tc-webcore-setInnerHTML-except-node",
41 "tc-wtf-StringImpl-user-catch-all",
42 "tc-wtf-HashTable-user-catch-all",
43 "tc-webcore-everything-create",
44 "tc-webkit-from-v8-catch-all",
45 "tc-webkit-catch-all",
46 "tc-v8-catch-all",
47 "tc-toplevel-string",
48 "tc-catch-all",
49 "tc-unused",
50 "UNTIL_HERE_FOR_TOTAL",
51 "total-exclude-profiler",
52 "total",
53 "anonymous",
54 "file-exec",
55 "file-nonexec",
56 "stack",
57 "other",
58 "mmap-total-log",
59 "mmap-no-log",
60 "mmap-total-record",
61 "other-total-log",
62 "tc-total-log",
63 "tc-no-log",
64 "tc-total-record",
65 "tc-total"
66 ],
67 "rules": [
68 {
69 "name": "second",
70 "stacktrace": "optional",
71 "allocator": "optional"
72 },
73 {
74 "name": "mmap-profiler",
75 "stacktrace": ".*(ProfilerMalloc|MemoryRegionMap::).*",
76 "allocator": "mmap"
77 },
78 {
79 "name": "mmap-allocated-type",
80 "stacktrace": ".*(AllocatedTypeMalloc).*",
81 "allocator": "mmap"
82 },
83 {
84 "name": "mmap-tcmalloc",
85 "stacktrace": ".*(DoAllocWithArena|SbrkSysAllocator::Alloc|MmapSysAllocato r::Alloc|LowLevelAlloc::Alloc|LowLevelAlloc::AllocWithArena).*",
86 "allocator": "mmap"
87 },
88 {
89 "name": "FROM_HERE_FOR_TOTAL",
90 "stacktrace": "optional",
91 "allocator": "optional"
92 },
93 {
94 "name": "mustbezero",
95 "stacktrace": "optional",
96 "allocator": "optional"
97 },
98 {
99 "name": "nonprofiled-absent",
100 "stacktrace": "optional",
101 "allocator": "optional"
102 },
103 {
104 "name": "nonprofiled-anonymous",
105 "stacktrace": "optional",
106 "allocator": "optional"
107 },
108 {
109 "name": "nonprofiled-file-exec",
110 "stacktrace": "optional",
111 "allocator": "optional"
112 },
113 {
114 "name": "nonprofiled-file-nonexec",
115 "stacktrace": "optional",
116 "allocator": "optional"
117 },
118 {
119 "name": "nonprofiled-stack",
120 "stacktrace": "optional",
121 "allocator": "optional"
122 },
123 {
124 "name": "nonprofiled-other",
125 "stacktrace": "optional",
126 "allocator": "optional"
127 },
128 {
129 "name": "mmap-v8-heap-newspace",
130 "stacktrace": ".*v8::internal::NewSpace::SetUp.*",
131 "allocator": "mmap"
132 },
133 {
134 "name": "mmap-v8-heap-coderange",
135 "stacktrace": ".*v8::internal::CodeRange::SetUp.*",
136 "allocator": "mmap"
137 },
138 {
139 "name": "mmap-v8-heap-pagedspace",
140 "stacktrace": ".*v8::internal::PagedSpace::AllocateRaw.*",
141 "allocator": "mmap"
142 },
143 {
144 "name": "mmap-v8-other",
145 "stacktrace": ".*v8::.*",
146 "allocator": "mmap"
147 },
148 {
149 "name": "mmap-catch-all",
150 "stacktrace": ".*",
151 "allocator": "mmap"
152 },
153 {
154 "name": "tc-webcore-fontcache",
155 "stacktrace": ".*WebCore::FontCache::getCachedFontData.*",
156 "allocator": "malloc"
157 },
158 {
159 "name": "tc-skia",
160 "stacktrace": ".* Sk[A-Za-z_]+::.*",
161 "allocator": "malloc"
162 },
163 {
164 "name": "tc-renderobject",
165 "stacktrace": ".*WebCore::RenderArena::allocate.*",
166 "allocator": "malloc"
167 },
168 {
169 "name": "tc-renderstyle",
170 "stacktrace": ".*WebCore::RenderStyle::create.*",
171 "allocator": "malloc"
172 },
173 {
174 "name": "tc-renderstyle",
175 "stacktrace": ".*WebCore::RenderStyle::clone.*",
176 "allocator": "malloc"
177 },
178 {
179 "name": "tc-webcore-sharedbuf",
180 "stacktrace": ".*WebCore::SharedBuffer::create.*",
181 "allocator": "malloc"
182 },
183 {
184 "name": "tc-webcore-sharedbuf",
185 "stacktrace": ".*WebCore::SharedBuffer::buffer.*",
186 "allocator": "malloc"
187 },
188 {
189 "name": "tc-webcore-sharedbuf",
190 "stacktrace": ".*WebCore::SharedBuffer::append.*",
191 "allocator": "malloc"
192 },
193 {
194 "name": "tc-webcore-XHRcreate",
195 "stacktrace": ".*WebCore::XMLHttpRequest::create .*",
196 "allocator": "malloc"
197 },
198 {
199 "name": "tc-webcore-XHRreceived",
200 "stacktrace": ".*WebCore::XMLHttpRequest::didReceiveData.*",
201 "allocator": "malloc"
202 },
203 {
204 "name": "tc-webcore-docwriter-add",
205 "stacktrace": ".*WebCore::DocumentWriter::addData.*",
206 "allocator": "malloc"
207 },
208 {
209 "name": "tc-webcore-node-and-doc",
210 "stacktrace": ".*WebCore::HTML[a-zA-Z0-9_]*Element::create .*",
211 "allocator": "malloc"
212 },
213 {
214 "name": "tc-webcore-node-and-doc",
215 "stacktrace": ".*WebCore::Text::create .*",
216 "allocator": "malloc"
217 },
218 {
219 "name": "tc-webcore-node-and-doc",
220 "stacktrace": ".*WebCore::Comment::create .*",
221 "allocator": "malloc"
222 },
223 {
224 "name": "tc-webcore-node-and-doc",
225 "stacktrace": ".*WebCore::HTMLDocument::create .*",
226 "allocator": "malloc"
227 },
228 {
229 "name": "tc-webcore-node-and-doc",
230 "stacktrace": ".*WebCore::CSSStyleRule::create .*",
231 "allocator": "malloc"
232 },
233 {
234 "name": "tc-webcore-node-and-doc",
235 "stacktrace": ".*WebCore::Attribute::create .*",
236 "allocator": "malloc"
237 },
238 {
239 "name": "tc-webcore-node-and-doc",
240 "stacktrace": ".*WebCore::DOMWindow::create .*",
241 "allocator": "malloc"
242 },
243 {
244 "name": "tc-webcore-node-factory",
245 "stacktrace": ".*WebCore::HTML[a-zA-Z0-9_]*Factory::create[a-zA-Z0-9_]*Ele ment.*",
246 "allocator": "malloc"
247 },
248 {
249 "name": "tc-webcore-element-wrapper",
250 "stacktrace": ".*WebCore::createHTML[a-zA-Z0-9_]*ElementWrapper.*",
251 "allocator": "malloc"
252 },
253 {
254 "name": "tc-webcore-stylepropertyset",
255 "stacktrace": ".*WebCore::StylePropertySet::create .*",
256 "allocator": "malloc"
257 },
258 {
259 "name": "tc-webcore-style-createsheet",
260 "stacktrace": ".*WebCore::StyleElement::createSheet.*",
261 "allocator": "malloc"
262 },
263 {
264 "name": "tc-webcore-cachedresource",
265 "stacktrace": ".*WebCore::CachedResource::data .*",
266 "allocator": "malloc"
267 },
268 {
269 "name": "tc-webcore-cachedresource",
270 "stacktrace": ".*WebCore::CachedResource::load .*",
271 "allocator": "malloc"
272 },
273 {
274 "name": "tc-webcore-script-execute",
275 "stacktrace": ".*WebCore::ScriptElement::execute.*",
276 "allocator": "malloc"
277 },
278 {
279 "name": "tc-webcore-events-related",
280 "stacktrace": ".*WebCore::createAttributeEventListener.*",
281 "allocator": "malloc"
282 },
283 {
284 "name": "tc-webcore-events-related",
285 "stacktrace": ".*WebCore::V8LazyEventListener::create.*",
286 "allocator": "malloc"
287 },
288 {
289 "name": "tc-webcore-events-related",
290 "stacktrace": ".*WebCore::V8EventListener::create.*",
291 "allocator": "malloc"
292 },
293 {
294 "name": "tc-webcore-events-related",
295 "stacktrace": ".*WebCore::Event::create .*",
296 "allocator": "malloc"
297 },
298 {
299 "name": "tc-webcore-events-related",
300 "stacktrace": ".*WebCore::EventListener::create .*",
301 "allocator": "malloc"
302 },
303 {
304 "name": "tc-webcore-document-write",
305 "stacktrace": ".*WebCore::Document::write.*",
306 "allocator": "malloc"
307 },
308 {
309 "name": "tc-webcore-node-create-renderer",
310 "stacktrace": ".*WebCore::Node::createRendererIfNeeded.*",
311 "allocator": "malloc"
312 },
313 {
314 "name": "tc-webcore-render-catch-all",
315 "stacktrace": ".*WebCore::RenderLayer.*",
316 "allocator": "malloc"
317 },
318 {
319 "name": "tc-webcore-render-catch-all",
320 "stacktrace": ".*WebCore::RenderBlock.*",
321 "allocator": "malloc"
322 },
323 {
324 "name": "tc-webcore-render-catch-all",
325 "stacktrace": ".*WebCore::RenderWidget.*",
326 "allocator": "malloc"
327 },
328 {
329 "name": "tc-webcore-render-catch-all",
330 "stacktrace": ".*WebCore::RenderView.*",
331 "allocator": "malloc"
332 },
333 {
334 "name": "tc-webcore-render-catch-all",
335 "stacktrace": ".*WebCore::RenderViewImpl.*",
336 "allocator": "malloc"
337 },
338 {
339 "name": "tc-webcore-render-catch-all",
340 "stacktrace": ".*WebCore::RenderStyle.*",
341 "allocator": "malloc"
342 },
343 {
344 "name": "tc-webcore-render-catch-all",
345 "stacktrace": ".*WebCore::RenderText.*",
346 "allocator": "malloc"
347 },
348 {
349 "name": "tc-webcore-render-catch-all",
350 "stacktrace": ".* RendererMain .*",
351 "allocator": "malloc"
352 },
353 {
354 "name": "tc-webcore-setInnerHTML-except-node",
355 "stacktrace": ".*WebCore::HTMLElement::setInnerHTML.*",
356 "allocator": "malloc"
357 },
358 {
359 "name": "tc-wtf-StringImpl-user-catch-all",
360 "stacktrace": ".*WTF::StringImpl::create .*",
361 "allocator": "malloc"
362 },
363 {
364 "name": "tc-wtf-StringImpl-user-catch-all",
365 "stacktrace": ".*WTF::StringImpl::createUninitialized.*",
366 "allocator": "malloc"
367 },
368 {
369 "name": "tc-wtf-HashTable-user-catch-all",
370 "stacktrace": ".*WTF::HashTable::allocateTable.*",
371 "allocator": "malloc"
372 },
373 {
374 "name": "tc-webcore-everything-create",
375 "stacktrace": ".*WebCore::[a-zA-Z0-9_]*::create .*",
376 "allocator": "malloc"
377 },
378 {
379 "name": "tc-webkit-from-v8-catch-all",
380 "stacktrace": ".*(WTF::|WebCore::|WebKit::).*v8::.*",
381 "allocator": "malloc"
382 },
383 {
384 "name": "tc-webkit-catch-all",
385 "stacktrace": ".*(WTF::|WebCore::|WebKit::).*",
386 "allocator": "malloc"
387 },
388 {
389 "name": "tc-v8-catch-all",
390 "stacktrace": ".*v8::.*",
391 "allocator": "malloc"
392 },
393 {
394 "name": "tc-toplevel-string",
395 "stacktrace": "std::basic_string::_Rep::_S_create",
396 "allocator": "malloc"
397 },
398 {
399 "name": "tc-catch-all",
400 "stacktrace": ".*",
401 "allocator": "malloc"
402 },
403 {
404 "name": "UNTIL_HERE_FOR_TOTAL",
405 "stacktrace": "optional",
406 "allocator": "optional"
407 },
408 {
409 "name": "total-exclude-profiler",
410 "stacktrace": "optional",
411 "allocator": "optional"
412 },
413 {
414 "name": "total",
415 "stacktrace": "optional",
416 "allocator": "optional"
417 },
418 {
419 "name": "anonymous",
420 "stacktrace": "optional",
421 "allocator": "optional"
422 },
423 {
424 "name": "file-exec",
425 "stacktrace": "optional",
426 "allocator": "optional"
427 },
428 {
429 "name": "file-nonexec",
430 "stacktrace": "optional",
431 "allocator": "optional"
432 },
433 {
434 "name": "stack",
435 "stacktrace": "optional",
436 "allocator": "optional"
437 },
438 {
439 "name": "other",
440 "stacktrace": "optional",
441 "allocator": "optional"
442 }
443 ],
444 "version": "POLICY_DEEP_3"
445 }
OLDNEW
« no previous file with comments | « tools/deep_memory_profiler/policy.l1.json ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698