Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / tools / deep_memory_profiler / policy.l1.json
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-anonymous",
11     "unhooked-file-exec",
12     "unhooked-file-nonexec",
13     "unhooked-stack",
14     "unhooked-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-v8",
22     "tc-skia",
23     "tc-webkit-catch-all",
24     "tc-unknown-string",
25     "tc-catch-all",
26     "tc-unused",
27     "UNTIL_HERE_FOR_TOTAL",
28     "total-exclude-profiler",
29     "total",
30     "absent",
31     "anonymous",
32     "file-exec",
33     "file-nonexec",
34     "stack",
35     "other",
36     "mmap-total-log",
37     "mmap-no-log",
38     "mmap-total-record",
39     "other-total-log",
40     "tc-total-log",
41     "tc-no-log",
42     "tc-total-record",
43     "tc-total"
44   ],
45   "rules": [
46     {
47       "name": "second",
48       "stacktrace": "optional",
49       "allocator": "optional"
50     },
51     {
52       "name": "mmap-profiler",
53       "stacktrace": ".*(ProfilerMalloc|MemoryRegionMap::).*",
54       "allocator": "mmap"
55     },
56     {
57       "name": "mmap-type-profiler",
58       "stacktrace": ".*(TypeProfilerMalloc).*",
59       "allocator": "mmap"
60     },
61     {
62       "name": "mmap-tcmalloc",
63       "stacktrace": ".*(DoAllocWithArena|SbrkSysAllocator::Alloc|MmapSysAllocator::Alloc|LowLevelAlloc::Alloc|LowLevelAlloc::AllocWithArena).*",
64       "allocator": "mmap"
65     },
66     {
67       "name": "FROM_HERE_FOR_TOTAL",
68       "stacktrace": "optional",
69       "allocator": "optional"
70     },
71     {
72       "name": "mustbezero",
73       "stacktrace": "optional",
74       "allocator": "optional"
75     },
76     {
77       "name": "unhooked-absent",
78       "stacktrace": "optional",
79       "allocator": "optional"
80     },
81     {
82       "name": "unhooked-anonymous",
83       "mappedpathname": "^$",
84       "allocator": "unhooked"
85     },
86     {
87       "name": "unhooked-file-exec",
88       "mappedpathname": "^/.*",
89       "mappedpermission": "..x.",
90       "allocator": "unhooked"
91     },
92     {
93       "name": "unhooked-file-nonexec",
94       "mappedpathname": "^/.*",
95       "allocator": "unhooked"
96     },
97     {
98       "name": "unhooked-stack",
99       "mappedpathname": ".stack.",
100       "allocator": "unhooked"
101     },
102     {
103       "name": "unhooked-other",
104       "mappedpathname": ".*",
105       "allocator": "unhooked"
106     },
107     {
108       "name": "mmap-v8-heap-newspace",
109       "stacktrace": ".*v8::internal::NewSpace::SetUp.*",
110       "allocator": "mmap"
111     },
112     {
113       "name": "mmap-v8-heap-coderange",
114       "stacktrace": ".*v8::internal::CodeRange::SetUp.*",
115       "allocator": "mmap"
116     },
117     {
118       "name": "mmap-v8-heap-pagedspace",
119       "stacktrace": ".*v8::internal::PagedSpace::AllocateRaw.*",
120       "allocator": "mmap"
121     },
122     {
123       "name": "mmap-v8-other",
124       "stacktrace": ".*v8::.*",
125       "allocator": "mmap"
126     },
127     {
128       "name": "mmap-catch-all",
129       "stacktrace": ".*",
130       "allocator": "mmap"
131     },
132     {
133       "name": "tc-v8",
134       "stacktrace": ".*v8::.*",
135       "allocator": "malloc"
136     },
137     {
138       "name": "tc-skia",
139       "stacktrace": ".*Sk[A-Za-z_]+::.*",
140       "allocator": "malloc"
141     },
142     {
143       "name": "tc-webkit-catch-all",
144       "stacktrace": ".*(WTF::|WebCore::|blink::|WebKit::).*",
145       "allocator": "malloc"
146     },
147     {
148       "name": "tc-unknown-string",
149       "stacktrace": ".*std::basic_string::_Rep::_S_create.*",
150       "allocator": "malloc"
151     },
152     {
153       "name": "tc-catch-all",
154       "stacktrace": ".*",
155       "allocator": "malloc"
156     },
157     {
158       "name": "UNTIL_HERE_FOR_TOTAL",
159       "stacktrace": "optional",
160       "allocator": "optional"
161     },
162     {
163       "name": "total-exclude-profiler",
164       "stacktrace": "optional",
165       "allocator": "optional"
166     },
167     {
168       "name": "total",
169       "stacktrace": "optional",
170       "allocator": "optional"
171     },
172     {
173       "name": "absent",
174       "stacktrace": "optional",
175       "allocator": "optional"
176     },
177     {
178       "name": "anonymous",
179       "stacktrace": "optional",
180       "allocator": "optional"
181     },
182     {
183       "name": "file-exec",
184       "stacktrace": "optional",
185       "allocator": "optional"
186     },
187     {
188       "name": "file-nonexec",
189       "stacktrace": "optional",
190       "allocator": "optional"
191     },
192     {
193       "name": "stack",
194       "stacktrace": "optional",
195       "allocator": "optional"
196     },
197     {
198       "name": "other",
199       "stacktrace": "optional",
200       "allocator": "optional"
201     }
202   ],
203   "version": "POLICY_DEEP_3"
204 }